January 27, 2010 Deployment, Errors
January 27, 2010 Deployment, Errors
I got error which says “MyApplicationName has stopped working” once deployed simple tool application to the deployment machine which is MS 2008 Server.
But application works just fine on my Dev Machine.
I took a look on event viewer and it says:
Problem signature:
P1: myapplicationname.exe
P2: 1.0.0.0
P3: 4b607991
P4: MyApplicationName
P5: 1.0.0.0
P6: 4b607991
P7: 83
P8: f
P9: System.IO.FileNotFoundException
P10:
It looks like something I was referencing is something in the framework that wasn’t installed on the server.
But what?
I remembered that when worked with UI I inadvertently took some thing from ToolBox. I immediately removed that thing, but REFERENCE were left in projects references.
It was Microsoft.VisualBasic and Microsoft.VisualBasic.PowerPacks.Vs.
Moral:
Once you get errors on deployment machine check carefully if you haven’t referenced something that is not needed. And remember about Event Viewer.
Markdown | Result |
---|---|
*text* | text |
**text** | text |
***text*** | text |
`code` | code |
~~~ more code ~~~~ |
more code |
[Link](https://www.example.com) | Link |
* Listitem |
|
> Quote | Quote |
I had the same error, but it appears to have been caused by requests to write to the event log.
http://devinwi.blogspot.com
Yea.. very interesting!
Actually your error states this:
P9: System.Security.Security
Mine states following:
P9: System.IO.FileNotFoundException
So they are different, regardless of the same EventName.
Thank you.