Aspnet_regiis-C indicates that the system has no administrator permission.

Source: Internet
Author: User
In C: \ Inetpub \ wwwroot \ aspnet_client \ system_web \ commandid 4322 I had to swap out webuivalidation. js just as described by everyone else.

This file has changed in 2 places. The most notable one is a change to the function called "validatorcommonsubmit ".

The function that doesn't work looks like this:

Function validatorcommonsubmit (){

Event. returnvalue =! Page_blocksubmit;

Page_blocksubmit = false;

}

The variation of the same function that does indeed work looks like this:

Function validatorcommonsubmit (){

VaR result =! Page_blocksubmit;

Page_blocksubmit = false;

Event. returnvalue = result;

Return result;

}

(Both of these functions start at line 125 in webuivalidation. js .)

The other place that the file has changed is at line 213 and 225. The regular expression that checks dates has changed.

Old file:

Line 213: var yearfirstexp = new Regexp ("^ \ s * (\ D {4}) | (\ D {2 }))([-. /]) (\ D {1, 2}) \ 4 (\ D {1, 2}) \ s * $ ");

Line 225: var yearlastexp = new Regexp ("^ \ s * (\ D })([-. /]) (\ D {1, 2}) \ 2 (\ D {4}) | (\ D {2 })) \ s * $ ");

New file:

Line 213: var yearfirstexp = new Regexp ("^ \ s * (\ D {4}) | (\ D {2 })) ([-/] | \\.?) (\ D {1, 2}) \ 4 (\ D {1, 2}) \ s * $ ");

Line 225: var yearlastexp = new Regexp ("^ \ s * (\ D {}) ([-/] | \\.?) (\ D {1, 2}) \ 2 (\ D {4}) | (\ D {2}) \ s * $ ");

One thing worth noting... my developement site doesn't use C: \ Inetpub \ wwwroot \ aspnet_client \ system_web \ commandid 4322.

It was using the aspnet_client FOLDER inside the root directory of the site itself. I found this out by navigating to the page that was experiencing the problem and then right-clicking the page and viewed the source. when I did that, this is what I found:

<Script language = "JavaScript" type = "text/JavaScript" src = "/aspnet_client/system_web/2017100004322/webuivalidation. js"> </SCRIPT>

Now obviously that's not the one in wwwroot.

I hope this helps someone out.

PS: I never got aspnet_regiis to work.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.