2
Answers

error(setAclUser) at publishing project

Hello EveryOne...

When I publish my asp web application project, a error appear :

Web deployment task failed.(A value for the ‘setAclUser setting must be specified when the ‘setAcl’ provider is used with a physical path.)

Please provide a solution…

i use Visual Studio 2010 
Answers (2)
0
Laxmidhar Sahoo

Laxmidhar Sahoo

NA 2.3k 1.4k 7y
sir actualy two types of config files 
 
1)web config
2) Machine config
 
First Application takes machine config settings then web config.
 
Provider left some settings for web config that dependencies of your application
 
So display the error page to fix 
 
 
 
 
0
Sagar  Pandurang Kap

Sagar Pandurang Kap

NA 2.7k 7.5k 7y
Hi,
It looks Your Publish profile is configured incorrectly. Note that "Site/application" section should be filled with the IIS site name and application name of the service you are publishing, not the physical location of the binaries. As described in the small font caption, it should be in the form of <site name>/<application name>.

Take the settings in the screenshot as an example, you might want to do the following:
- Go to IIS Manager. Find "Default Web Site" and add an application with Alias="MyApp" and Physical path="C:\Documents and Settings\..."
- Then click on Publish button of your WCF project and set Service URL="http://localhost/MyApp/CustomerService.svc" and Site/application="Default Web Site/MyApp".

This should enable you to successfully publish your service to IIS. 
 
Hope it helps..