Click here to Skip to main content
15,880,725 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello,

After publishing my web application on the web server and try to enter one of its pages is generated the error message.

Exception has been thrown by the target of an invocation.

This message only appears when I try to access the page through my production server.
when I run the application from Visual Studio or from the browser on my web server does not appear this message.

What I need to know to solve this error?

What steps should I take to get a better description of the error?

thanks

Juan Carlos Silva Yepes
Posted
Comments
Sergey Alexandrovich Kryukov 23-Jul-13 12:56pm    
This is the very usual thing, and you can easily find out what's going on if you use the debugger. You did not provide enough information to tell you more.
—SA
Juan Carlos Silva Yepes 23-Jul-13 13:44pm    
Thanks for your answer.
On the information provided, this is the only browser that gives me the client from which I try to access. if you inspect the event log both the server and the client machine no record of alerts, messages or errors.

thanks
ZurdoDev 23-Jul-13 13:01pm    
How would we know what is wrong? If it works in dev and not in production then something is different. Likely permissions or missing dlls.
Juan Carlos Silva Yepes 23-Jul-13 14:45pm    
Hello ryanb31,

After analyzing the operation as described in your comment to appear one of the dlls was not being copied locally on my project for this reason the error was generated.

Thanks for your answer.

Juan Carlos Silva Yepes.
ZurdoDev 23-Jul-13 14:46pm    
Glad to help. Glad it is working.

1 solution

When something works in development and not in production I find it is often a matter of permissions or a missing dll.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900