C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » Visual Studio »

Host error


Posted Date: 04 Jul 2009      Posted By: R.Jaya kumar (JK)      Member Level: Diamond     Points: 1   Responses: 2



Hi

this code running good local. but host the code security error comes is it possible code to comfortable to host place

Dim diag As New Diagnostics.Process
diag.StartInfo.Arguments = Server.MapPath("Test.doc")
diag.StartInfo.FileName = "Winword.exe"
diag.Start()

thanks
kumar


Thanks and Regards
Jayakumar

Do not forget to Rate the post...





Responses

Author: rajesh    04 Jul 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

hi,
can u tell me the exact error what it shows

rajesh



Author: R.Jaya kumar (JK)    04 Jul 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

hi

rajesh
following error comes

Server Error in '/sip1' Application.
--------------------------------------------------------------------------------

Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request failed.

Source Error:

Thanks and Regards
Jayakumar

Do not forget to Rate the post...



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Import excel file
Previous : How to run a vb script file in vb.net
Return to Discussion Forum
Post New Message
Category: Visual Studio

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use