Click here to Skip to main content
16,018,818 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am getting below error randomly in my development server.

CSS
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 25-Dec-20 23:22pm
v2

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.
 
Share this answer
 
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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900