I need a way to transparently aggregate any .NET class and intercept all calls to that class. I used to be to do this very easily in COM, using COM aggregation and overriding the invoke method. I need to the same thing in .NET. It so I can transparently include code around a method in a given class, the client still invokes the class in same way, unaware they are getting my additional code for free.
Please help me in this issue, I have a website working from a time and i logged on many times to the website administration pages with no problems, after some times i deleted all the cookies from my pc, and cleaned the temp. IE files, so i could not after that logged on to the website admin.
I tried from other pcs if I delete the cookies from there i can not login.
The most important that the login page does not give me an error, it seems i loged on but it does not redirect me to the admin. pages.
I tried to over write the asp net client script files with no hope, some body say that i need to configure the scriptmap of that website!!
anyway I can not globally overwrite the aspnet client libraries for all domains hosted on this server, which is not something I can do on a shared hosting environment.
What is the commands to unregister, fix, register the scriptmap for one application and not for all on IIS?
I use IIS 6 on Win 2003 and asp 1.1
Asp 2.0 installed also but not for this website.
Note: Localy on my pc i have the same configuration but evrything is working perfect!
The prooblem is on the server where they can not solve it!!!
The following question I have is not directly a problem I’m having but rather a solution that I’m looking for.
I have a win32 application written in .NET 2.0, basically a forms over data applications sending data back and forth to a SQL Server 2005 database.
Now, our clients do not want to remote desktop to the server where the application and SQL server resides on, but rather be able to have user have like a client sitting on their local machines accessing the .exe application remotely.
I don’t know if that is possible in the first place, so basically I’m looking for a solution where my users will be able to run the win32 application remotely without having to be on the physical server i.e. remote desktop to it.
Has anybody out here faced a similar challenge before?
I hope I make sense and hope to get your feedback soon.
You have two choices. You can either run the application on each clients machine and the app can connect to the SQL database over TCP/IP, or you can run the application remotely using something like Terminal Services[^] or a Citrix[^] box.
Dave Kreskowiak Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
You wouldn't be able "run" the application, however the client app could interact with the server by using .NET Remoting or possibly creating web services on the server to interact with (no you don't necessarily need IIS, you can host the WS within your application).
I download the files about the .net 3.0 WPF and install it on two computers. Both their OS is windows 2003, but one is SP1, another is SP2.
Now I found that the WPF's project could work well in SP!, not work in SP2. I don't know whether this is the reason.
Does anybody meet this problem too? Please give me a advice, thanks very much.
There is a method "DirectorySecurity.SetAccessRuleProtection(isProtected as Boolean, preserveInheritance as Boolean)" which allow to break or set the inheritance. So I only have to replace in the code snippet above the line
to remove alle the access rights inherited from the folder above and set new access rights for the folder and its children.
Where temp is a string containing som text and sometimes a tag. If the string contains a link to an image the webbrowser will totally freak out. It will flicker, constantly updating and you can't scroll or anything.
Any suggestions how to fix this?
I have got a solution file that contains multiple managed code projects, and some projects have dependecies/references(Project References),when i compile/build a particular project through MSBuild it compiles/builds the project and dependencies of that project too, is there a way/flag of MSBuild so that it shouldn't compile/build the depedencies
i have developed a desktop based application using C#.NET, which require access to some USB based devices.
I have to use this application on target PCs in which the USB port is disabled by the system administrator.
From the application, i wants to enable & disable the USB drives programatically, so that no other application can use the USB ports, as per configured by the system administrator.
ie, enable the USB port before the application require access to the USB port it & disable it after the use.
I need to achieve the same when the application is running in a login, who doesn't have administrative rights.
Is it possible to achieve the same using .NET framework?
Do any one knows how to implement the same. If so, please inform me.