majkinetor
Programmer
I have this code
And this code works in Win Forms app, but not in ASPX.NET. Also, the code worked yesterday in ASPX but not today.. I know what you think now... but this is one of those things that should work, but still doesn't for some strange reason.
I have this kind of code in my ASPX server code:
- verify xml (above code)
- open connection to database
Yesterday it worked, but not today.
Any comments ?
Code:
XmlValidatingReader xvr = new XmlValidatingReader(reader);
xvr.ValidationType = ValidationType.Schema;
xvr.Schemas.Add(null, schemaName);
xvr.ValidationEventHandler += new ValidationEventHandler(xvr_ValidationEventHandler);
XmlDocument xdoc = new XmlDocument();
xdoc.Load(xvr);
I have this kind of code in my ASPX server code:
- verify xml (above code)
- open connection to database
Yesterday it worked, but not today.
Any comments ?