Click here to Skip to main content
14,138,178 members
Rate this:
 
Please Sign up or sign in to vote.
See more:
I am getting below error randomly in my development server.

XML Parsing Error: no element found
Location: https://example.org/Web/Users/UserCreate.aspx
Line Number 1, Column 1:


This is working fine in local. anybody help me how to fix this environment issue.
Posted
Updated 13-Jun-18 23:51pm
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Check the content of the XML file you are opening - by the sounds of it it is not the same as the file on your local system, and may well be empty.
   
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

I think you added <httpErrors errorMode="Custom" existingResponse="PassThrough"/>
in <system.webserver> (web.config).
Please remove this for a while so that you can see the actual error.
After you get error you can search for actual error.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.190518.1 | Last Updated 14 Jun 2018
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100