# Unhandled win32 exception in SQLCMD.EXE \[3980\]

**URL:** https://www.finalbuilder.com/forums/t/unhandled-win32-exception-in-sqlcmd-exe-3980/526
**Category:** Discussion
**Created:** [July 16, 2007, 11:45am UTC](https://www.finalbuilder.com/forums/t/unhandled-win32-exception-in-sqlcmd-exe-3980/526 "2007-07-16T11:45:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 16, 2007, 11:45am UTC](https://www.finalbuilder.com/forums/t/unhandled-win32-exception-in-sqlcmd-exe-3980/526/1 "2007-07-16T11:45:15Z")

</div>

Hello there,

I've a Problem with the MSSQL Execute SQL Action.

I want to execute a sql script (a database restore script), but I can't execute this script, because, there is an unhandled exception.

&nbsp;

The path of the sqlcmd.exe is right. I don't know where my failure is.

Can you help me?

You can see my options in the attached screenshots.

Thanks a lot.

Regards,

Patrick

[Screenshots.zip](https://www.finalbuilder.com/forums/uploads/default/original/2X/e/e648bc5a9d5f6c680a77f1e37c68857ecf2092d6.zip) (96.704 KB)

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [July 17, 2007, 1:54am UTC](https://www.finalbuilder.com/forums/t/unhandled-win32-exception-in-sqlcmd-exe-3980/526/2 "2007-07-17T01:54:40Z")

</div>

Hi Patrick,   
  
 Do you get any output from the action in the log? There may be some output from sqlcmd.exe to explain the exception.   
  
 Regards,   
  
 Angus

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 18, 2007, 9:48am UTC](https://www.finalbuilder.com/forums/t/unhandled-win32-exception-in-sqlcmd-exe-3980/526/3 "2007-07-18T09:48:41Z")

</div>

Hello Angus,

Thank you for your answer.

Unfortunately, there is no log for this action.There is only this unhandled win32 excption.

I don't know, what I shoud do.:( Do you have any tips for me?

Thanks.

Regards,

Patrick

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 18, 2007, 1:48am UTC](https://www.finalbuilder.com/forums/t/unhandled-win32-exception-in-sqlcmd-exe-3980/526/4 "2007-07-18T01:48:17Z")

</div>

Hi there,

So I've found my problem. My SQLExpress Server was corrupt. I've it reinstalled - so I could use the finalbuilderaction 'MSSQL Execute SQL' without any problems.

Thanks for your help.

Regards, Patrick

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [July 19, 2007, 1:42am UTC](https://www.finalbuilder.com/forums/t/unhandled-win32-exception-in-sqlcmd-exe-3980/526/5 "2007-07-19T01:42:54Z")

</div>

Hi Patrick,   
  
 Glad to hear you got it working.   
  
 Regards,   
  
 Angus
