Click here to Skip to main content
15,881,516 members
Please Sign up or sign in to vote.
3.22/5 (3 votes)
See more:
Hi all,
i have developed a web forms app. i was trying to publish my application to remote server.
1- i downloaded and installed web deploy management on my remote server.
2- created an IIS Manager user.
3- publish my app. from VS 2012.

everything went well, preview was successful,
but when click publish i got this in VS (output)

(2015/03/17 11:20:52) An error occurred when the request was processed on the remote computer.
The server experienced an issue processing the request. Contact the server administrator for more information.
Publish failed to deploy.

========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========


i check connection to the server and user, all is good. what could be the reason?

please advise
<
thanks in advance
Samira
Posted
Comments
Sergey Alexandrovich Kryukov 17-Mar-15 11:45am    
Not enough information (isn't it obvious?)
When you use a form, it makes sense only if you handle HTTP request send by "Submit" on the server side, but we cannot see your ASP.NET code. Due to quick spring warming, my access to your hard drive is somewhat limited. :-)
—SA
Joan Magnet 17-Mar-15 12:30pm    
Can you publish it in a shared folder?
ZurdoDev 17-Mar-15 12:34pm    
Check event viewer on the server.
Samira Radwan 18-Mar-15 8:42am    
System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. at System.Security.AccessControl.Win32.SetSecurityInfo
ZurdoDev 18-Mar-15 8:45am    
Permissions issue of some kind then. Just do a build and then copy your files over to the server.

1 solution

I typically publish it to a share folder on my local machine through the Visual Studio Publish Tool (right click on the project and you'll see it). Then I copy the contents of the shared folder to the server into its virtual directory. If this is not an initial deployment, then DO NOT copy out any .config files or contents of the App_Data folder.
 
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