I am using VS2012 for web development. But I have a problem with create user wizard :(
I choose empty web application.
Then I insert he wizard. After that I go to ASP.net Administrator page and I select authentication type as "From internet". THen I creat some roles and some users. But when I get back to my procejt and refresh the views. İt doesn't add the database for the
wizard :S And when I try to run my app it gives this error:
Server Error in '/' Application.
WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive). Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
I
am not sure but I think it's because I chose Empty web application. And I think it wants me to add some files. But I don't know what it wants form me. How can I fix this problem. Please help!
Mac14
Member
46 Points
71 Posts
CreateUserWizard Problem in VS2012
Dec 05, 2012 07:13 PM|LINK
Hello everyone!
I am using VS2012 for web development. But I have a problem with create user wizard :(
I choose empty web application.
Then I insert he wizard. After that I go to ASP.net Administrator page and I select authentication type as "From internet". THen I creat some roles and some users. But when I get back to my procejt and refresh the views. İt doesn't add the database for the wizard :S And when I try to run my app it gives this error:
Server Error in '/' Application.
WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
Source Error:
Stack Trace:
I am not sure but I think it's because I chose Empty web application. And I think it wants me to add some files. But I don't know what it wants form me. How can I fix this problem. Please help!
Thanks
Catherine Sh...
All-Star
23373 Points
2490 Posts
Microsoft
Re: CreateUserWizard Problem in VS2012
Dec 07, 2012 06:52 AM|LINK
Hi,
In order to resolve your issue, please try to follow the two method:
1. Remove the following element from the web.config file.
or
Add the following element in web.config also works.
2. Register jQuery in Global.asax in the Application_Start event.
For details about it, please check the article below which explain it clearly:
http://www.codeproject.com/Articles/465613/WebForms-UnobtrusiveValidationMode-requires-a
Best wishes,
Feedback to us
Develop and promote your apps in Windows Store
Ruchira
All-Star
42936 Points
7023 Posts
MVP
Re: CreateUserWizard Problem in VS2012
Dec 08, 2012 02:06 PM|LINK
Hello,
I agree with Catherine's suggestion. Apart form that, you may also see the below link
http://connect.microsoft.com/VisualStudio/feedback/details/735928/in-asp-net-web-application-visual-basic-the-requiredfieldvalidator-doest-work
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.