I'm looking for a method to use that will search the registry for a value, and then based on that value, I need to jump up 3 levels to get the key which is the GUID of the dll I'm searching for. Any help would be much appreciated.
Thanks,
Eric
OK, found a solution but maybe not the best solution. I used "convert to alpha". I don't know what that really means, but it seemed to do the trick. Is there a better way?
Hi again, still newb;0) Also, I'm trying to take normal digital pictures and convert the size of them to fit a webpage header. I will create a flash animation based on the pictures in the header of my webpage. Any help for this one?
Thanks Much!
Eric
OK, here's what I got back from Microsoft:
“While web.config is an XML file, what you’re proposing isn’t really possible. There are a couple of reasons you don’t want to do this too, the main one being that in v1.X we actually restart the entire application when the web.config file changes. We...
As you suggested, I opened it up in IE and it worked fine (substituted correctly and all). I'm putting a ticket in with microsoft. I'll post here if I get any answers for future .NET seekers... Thanks for your help!
There was a space, that's just a bad translation by me (i.e. changed the real values to generic one's because that's what my organization wants me to do - cut the spaces out to be sure the line wouldn't wrap...). The xml works well without the Entity involved. Looks like it's a .NET problem...
Sorry, forgot to post the stack trace:
Stack Trace:
[RemotingException: .Config file C:\Config\Web.config can not be read successfully due to exception System.ApplicationException: Invalid XML in file C:\Config\Web.config near element </xml>. ---> System.Runtime.InteropServices.COMException...
That didn't work for me. Here's the specifics on how I tried to used it (in a web.config file for ASP.NET Web App):
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE settings [
<!ENTITY WebPath "http://myPath">;
]>
<configuration>
<system.runtime.remoting>...
I'm sure my usage is incrorrect but can't find a good sample for using these. Here's what I'm trying:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!DOCTYPE settings [
<!ENTITY WebPath "http://myPath">
]>
...
and then later (in the same file)...
OK, I've come up with what I think I'm after, External Entities, but was told it doesn't work with .config files in ASP.NET apps. Is this correct? Thanks - Eric
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.