c# - Configuration error after deploying ASP.NET application -
i using vs2012, website on local machine works fine , when deploy website on remote pc / server , works fine when run on localhost in server computer, problem arises when access remotely having static/live ip. gives following configuration error.
deployed in following path
inetpub > wwwroot > pse
i have deployed website in inetpub > wwwroot > pos works fine
here website structure
here 1 web.config file in root directory
<?xml version="1.0"?> <!-- more information on how configure asp.net application, please visit http://go.microsoft.com/fwlink/?linkid=169433 --> <configuration> <system.web> <customerrors mode="off"/> <compilation debug="true" targetframework="4.0"> <assemblies> <add assembly="mysql.data, version=6.9.6.0, culture=neutral, publickeytoken=c5687fc88969c44d"/> </assemblies> </compilation> <httpruntime targetframework="4.0"/> <authentication mode="forms"> <forms defaulturl="~/dao/pos.aspx" loginurl="~/default.aspx" timeout="20" slidingexpiration="true"></forms> </authentication> </system.web> </configuration>
please guide me, wrong , why getting above error.
here iis configuration
your error messages says possibly caused not configuring virtual directory application. have checked in iis manager?
look in example below see difference between application , virtual directory not application:
to convert virtual directory application, right click , choose convert application
Comments
Post a Comment