thanks for reply i am running .Net 3.5. I am pretty certain i have just screwed up my ASPNet user. I am wondering what the easiest way to recreate it is.
AJ123
Posts
-
IIS - Server Application Unnavailable -
IIS - Server Application UnnavailableI appear to have broken my ASP.NET/IIS configuration. Everytime i goto round my localhost/*.ASPX i get a 'Server Application Unavailable' prompt. I have reinstalled Asp.Net via aspnet_regiis.exe and reinstalled IIS. But still no luck! 1) Does anyone have any ideas? 2) I think it maybe something to do with my ASPNET user - does any know what the requirements are for this user? Cheers Rich.
-
Load Assembly given a namespaceIf i have a Namespace as a string is there are any framework support to find the assembly file with the most closely matching name. For example: If i have the assemblies x.DLL and X.Y.DLL. Then given the Namespace string 'X.Y.Z' - the 'X.Y.DLL' would be adopted. Thanks
-
ActiveX Control & InteropI agree... It looks like interop is not calling through to the old property on the control. But i am at a loss... Managed to cast it back to the original interface that exposed the backcolor as uint. Bu that didn't help.
-
ActiveX Control & InteropYeah, its quite strange the ActiveX Control supports BackColor and ForeColor. When they come through COM Interop - the AxInterop file exposes them as .NET Color type. The standard interop files gives an interface with them as UINT. Neither of which work! Very frustrating considering the control works fine ouside of .NET.
-
ActiveX Control & InteropHi I have an ActiveX control which behaves well outside of the .NET environment. However when i used it via interop i can't seem to set the backcolor and forecolor properties. Anyone any ideas? Cheers
-
AppDomains & Loading AssembliesDoes anyone know if when I Load an assembly using Reflection I also have to load all of it Dependencies? This is the behavior I am currently seeing – but was hoping things would be a bit simpler. Cheers Rich
-
AppDomain + ReflectionSoon as I do reflection on an Assembly in a seperate AppDomin. It would appear that it gets pulled into the currentDomain. Does anyone know how i can avoid this? Basically i just want a list of Types from an Assembly operating in my secondary domain. Anyone any suggestions? Rich
-
Stopping User Control executing in DesignerHi there I have a user control which when placed on a form in the designer - appears to be running. A flashing cursor appears within one of the controls. Is there a property or attribute i should be using to stop this behaviour? Cheers Rich
-
AppDomain - Loading a assemlyI am creating a testing harness for my app and merrily loading assemblies using reflection into a seperate app domain. What i was hoping to be able to do is unload the App Domain - releasing the file lock on the Assemblies. Allowing me to have write access to rebuild them in Visual Studio. Unfortunately the app still has locks on the assemblies. Can anyone think of what i might be missing? The code goes something like this: 1) Assembly assembly = reflectionDomain.Load(filename); 2) AppDomain.Unload(reflectionDomain); Anyone any clues? Cheers Rich
-
'CopyLocal' - Reference PropertyHi Does anybody know where the Copy Local reference property is perstisted?? I assumed it would be in the project file, but I can't seem to find the defintion. Thanks
-
MSBuildI am just starting to look into MSBuild. Wonder if anyone could offer any pointers? Would the following be an easy thing to do? - Build a set of .CSProj files, in dependency order - Specify the 'reference path' as to pick up the correct dependies - Override what is in the project file and output to a build folder. Would MSbuild fully support this? Thanks in advance Aj
-
Iterating through Controls on A FormThanks Robert - Quite an elegant little solution there....:)
-
Iterating through Controls on A FormHi There.... I am looking to iterate through A form's Controls collection. However i am also interested in control which are the child of panels. Is there any built support in WinForms? Or is the solution just to write my own little recursive method? Thanks in advance Aj
-
VS2005 - ReferencePathsDoes anyone know of an easy way to maintain a series of assembly 'reference paths' across a large number of projects. I understand they are persisted in the proejct 'user' settings files. Initially i was wondering whether you could do something similar to a #Include in a xml. So at least they would only be stored once. Cheers Aj
-
Exception Windows - IDEHi there I've been a heavy user of the 'Exceptions' window in the IDE for a long time now. Its never really crossed my mind until now.... But aren't 'Thrown' and 'User-unhandled' mutually exclusive. As in if you have Thrown checked then 'User-unhandled' might as well not be checked? Thanks Rich
-
Form designer - executing user control propertiesThanks Ravi + Josh, both solutions appear to work well :)
-
Form designer - executing user control propertiesHi I have a user control which has a number of custom properties. Unfortunately these properties are not suitable for the designer to execute. As a result form’s which use this user control won’t open at design time in the designer. Is there some way to prevent the designer from executing my user control properties? Cheers Rich
-
Inserting a Row - Returning the IDFound my answer :- There is a good discussion of this at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadonet/html/manidcrisis.asp[^]
-
ADO.NET - Inserting a row and getting the IDGood Point! - Thanks Found my answer at : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadonet/html/manidcrisis.asp[^]