Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 22, 2013 06:44 AM by jim_rosacena2008
Nov 13, 2012 08:41 AM|LINK
I'm really having like a nightmare in solving this error. I don't understand it totally. I have a small program which i created in my pc and has active directory authentication. It's perfectly working in my pc and i don't have any problem at all. SQL connectivity
is perfectly configured too because i tried to run my web application from my PC using my server SQL address connectivity, it works fine. When I copy all of my files under wwwroot/comms to the server (wwwroot/comms, it gives me this error. Please check it
below. I don't know how to resolve this. I hope you guys could shed your brilliant solution in my situation.
PC Specs: Windows 7, MS VS 2010 and SQL Server 2008.
Server Specs: WinSvr2008 R2, SQL Server 2012.
Thanks a lot in advance. Jim.
An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: An operations error occurred.
Line 35: maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
Line 36: applicationName="/"/>-->
Line 37: <add name="AspNetActiveDirectoryMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADService" attributeMapUsername="sAMAccountName"/>
Line 38: </providers>
Line 39: </membership>
Nov 13, 2012 05:42 PM|LINK
It looks like all the software needed to run this web app is not installed on server. Maybe something like MVC version that you are using.
Here is what you need to do:
Look for the name spaces (system.web.security.active....) in this case under "references" in your Visual studio solution. If you find it, click on that name space reference and go to properties window and select copy local --> true. IF you don't find it,
then add reference by finding it on your local machine and then do the same as abvoe ..copy local true.
This way when you build, all the needed dlls will be copied to your bin and you will not get that error.
Nov 14, 2012 09:41 AM|LINK
hello tinuverma, thanks a lot in your generous reply. in regards to what you said, i can't find that system.web.security.activedirectorymenbershipprovider in my name space. i have system.web.dll in my "references" in the solution. i set Copy Local to true.
but in the namespace, i still can't be able to see system.web.security.activedirectorymembershipprovider. even system.web.security is not available. i checked with msdn and i am confused becuase according to the site, the namespace comes from the assembly
system.web.dll. I'm using .Net Framework 4. do we have another dll for this one?
your advices is really really appreciated. thanks a lot in advance tenuverma :)
Nov 14, 2012 05:23 PM|LINK
Maybe this will help?
Nov 17, 2012 06:29 AM|LINK
hello tinuverma, thanks for the link. i already have that config. in fact, this is my line below. in my PC, it's working perfectly. but when i move it to the server, it gaves me that error that i mentioned above :(. if you have more knowledge about this,
i would really glad and appreciated. thank you very much in advance. sincere, jim.
System.Web, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Nov 20, 2012 10:19 AM|LINK
any more ideas guys? any assisstance would be very appreciated. thanks in advance :)
May 22, 2013 06:44 AM|LINK
I solved it. I published it in a wrong way. I install Web Deployment Tool in the server and I publish it through my VS publisher.
Thanks a lot guys. :)