"/" Indicates a server error in the application. System. Io. directorynotfoundexception

Source: Internet
Author: User
"/" Application Program Server error.
Part of path "G: \" is not found.

Note:An error occurred while executing the current Web request. Check the stack trace information to learn about this error andCodeDetailed information about the cause of the error.

Exception details:System. Io. directorynotfoundexception: Part of the path "G: \" is not found.

Source error:

An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.

Stack trace:

 [directorynotfoundexception: Part of the path "G: \" is not found.] 
system. io. _ error. winioerror (int32 errorcode, string Str) + 287
system. io. directory. internalcreatedirectory (string fullpath, string path) + 489
system. io. directory. createdirectory (string path) + 195
dvnews. admin. basepage. x7a42976890116af7 (string xcc73173c60d9e1a3) + 1166
dvnews. admin. makestatic. btsort_onclick (Object xe0292b9ed559da7d, eventargs x09164e3c6417269f) + 318
system. web. UI. webcontrols. button. onclick (eventargs e) + 108
system. web. UI. webcontrols. button. system. web. UI. ipostbackeventhandler. raisepostbackevent (string eventargument) + 57
system. web. UI. page. raisepostbackevent (ipostbackeventhandler sourcecontrol, string eventargument) + 18
system. web. UI. page. raisepostbackevent (namevaluecollection postdata) + 33
system. web. UI. page. processrequestmain () + 1292

Solution:

Analysis: First, you do not need to grant the partition access permission.

Method:
1. Find IIS and select a network service

2. Find the selected Attribute of the partition-Security

3. Find the Add button.
Select Service and confirm

4. After the service is added, click Advanced to bring up the following screen:
Do not select all permissions assigned to the service.

Finally, press OK to solve the problem.

Please do not reprint your support without permission

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.