Indexing Service melee ASP. NET-another isolation Pier of Microsoft, asp.net ―

Source: Internet
Author: User

Indexing Service melee ASP. NET-another isolation Pier of Microsoft, asp.net ―

At the beginning of the month, I handled ASP. NET's inexplicable exceptions at the top of Huashan. Since then, I have lived with the princess... Du ~~, Sorry, I read all the books and got a bunch of books. Well, let's talk less about it in our spare time, and the book goes back to the beginning.

ASP. NET execution exception, the server has been running very stable, but in order to escape a Microsoft disorderly isolation pier and looking back fortunately, the mind is not fixed, and another has been paralyzed by a big horse, struggling to climb up, can not care about the dirt on the face and the body of the pain, and quickly pulled out a pencil, in the dense isolation Pier to add a pen.

Before work yesterday, the project was updated. After compilation and packaging, the project was uploaded to the server. Everything is normal. I went to work in the morning, but I was not yet seated. My office was like a Chinese Netcom headquarters. I had a phone call, and I had to log on to the system. I found that my customer was coming again... Have you forgotten to delete the PDB file? Login to the server, but a PDB file is not found, it does not appear that the old disease recurs, but adds a new disease.

The System service uses the remote mode of the web service and the local mode of the local dll. It runs in dual mode and can be switched freely through the configuration file. In order to facilitate debugging, the underlying service is switched to the local mode, and the login is told that "access is denied by the xxx component", which is useless debugging information. Since access is denied, it may be a problem of user permissions. Thus, the permission is maximized, and even the read-only attribute is noticed. Log On again. the problem persists.

Helpless, you can only ask for help from the Internet. Search Engine, good guy! There are still a lot of people that have tripped over this block. I mentioned Microsoft's index service at one point. At first I didn't think it had something to do with what I couldn't beat, but it was just a dead horse. Just give it a try.

Open "Computer Management" "System Service" "Index Service" and find c: \ intepub in the compilation directory, stop, delete, and compile the program again... Muhahaha! Problem solved!

Afterwards, I racked my brains and came to the conclusion that, for some reason, Index Service data error, ASP. NET cannot load the correct library information during compilation, leading to confusion in the code library. Unreliable data is nothing more than an isolated block...


In ASPNET, how can I return the previous page?

Request. urlReferrer. toString (); get the address of the previous page and save it in the hidden control. Be sure to save it when loading for the first time and then response. redirect ("hidden space value ");

Aspnet I want to display different webpages on the same page

<Iframe src = "your URL" frameborder = "0" scrolling = "no"> </iframe>
This can be implemented, but you need to modify the URL value of your iframe on the interface to work together to estimate the effect.
For details, see what functions do you need.

Related Article

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.