ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

Solving Issues - Pain and More Pain

(1/2) > >>

Renegade:
Well, I finally solved a stupid problem. The solution was to remove a single attribute from an XML node. I'd been through a trillion different routes, and finally found it.

The problem came from an upgraded web.config file going from IIS6 to IIS7, in which the attribute got added. Sigh...

Anyways... Just one of those things. Lost more time over it than I care to admit, but eventually got it working. YAY~! :D

Lesson learned: Sometimes things just aren't that complicated, and going back to basics can save a lot of time.

Armando:
 :) That type of thing happened to me a lot lately, and it involved XML (and character encoding).

Will focus on improving my problem solving algorithms...

Ath:
the attribute got added
-Renegade (March 03, 2011, 07:25 PM)
--- End quote ---

What did that pesky attribute look like? (so we know what to avoid :D)

f0dder:
XML - Pain and More Pain

There, fixed the topic for you.

Renegade:
the attribute got added
-Renegade (March 03, 2011, 07:25 PM)
--- End quote ---

What did that pesky attribute look like? (so we know what to avoid :D)
-Ath (March 04, 2011, 01:27 AM)
--- End quote ---

It won't help. :(

Let me delay the long explanation for a bit. Here's why:

http://cynic.me/2011/03/01/opening-up-software-business-for-complete-transparency/

I'm considering that, and am planning a post with code on the mini application I just finished (it's draft quality, but it's solid and it works).

The short version is that I ended up with:

preCondition="managedHandler"

Here:


--- Code: Text ---<system.webServer>      <modules>          <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" preCondition="managedHandler" />      </modules></system.webServer>
Removing it solved the problem.



XML - Pain and More Pain

There, fixed the topic for you.
-f0dder (March 04, 2011, 01:40 AM)
--- End quote ---


Actually, I'm quite good with XML and really like it (beats INI any day). It wasn't the XML itself that was the problem. It was the addition of that attribute that slipped past, and that I assumed was needed for IIS7.

XML specifications that are massively large, like that for a web.config file, are simply unmanageable, but not because they are XML. They're unmanageable because they're so complex, and errors aren't readily apparent sometimes.

Navigation

[0] Message Index

[#] Next page

Go to full version