|
No joy. I reinstalled the Framework1.1, ASP.Net SDK1.1, and ran the aspnet_regiis -i option. It changed nothing. It appears to be a permissions error, in that the worker process can't gain access to a required folder, but nowhere is the identity of the folder revealed.
Thanks for the idea, though...
Some people think of it as a six-pack; I consider it more of a support group.
|
|
|
|
|
XMLSerialization generates C# code which gets compiled on-the-fly in the Temp folder that requires write permissions to be granted to the user running the ASP.NET Worker (W3Wp.exe in IIS 6.0, aspnet_wp.exe in IIS 5.1) process. The default user is usually “Network Service”/ASPNET & the folder location is “C:\Windows\Temp”.
Verify whether ASPNET or "Network Service" account has Full Control to the Temp directory. [i ran into this a while ago while setting up IIS 6.0 on Win2k3 server]
Chen Venkataraman
|
|
|
|
|
Good suggestion! I checked, though, and nearly everyone has full control on that and several other folders. I also tried changed the machine.config file to run aspnet_wp under the System account, instead of the limited ASPNET, but that didn't work either. I'm beginning to suspect that I need to uninstall everything, including IIS, and start over. I hate to do so, because everything installed perfectly with no reported errors. What are the odds of that ever happenning again?
Some people think of it as a six-pack; I consider it more of a support group.
|
|
|
|
|
You aren't running the latest ZoneAlarm are you? VS.NET and ZoneAlarm don't seem to play nice together.
Micco.
|
|
|
|
|
Nope. I gave up on Zone Alarm a long time ago.
Some people think of it as a six-pack; I consider it more of a support group.
|
|
|
|
|
Guys,
Just wondering if there are any documents on the generation of strong names for assemblies.
Is it the norm to :
a) Generate a strong name file for each and every assembly you want to put in the GAC
b) Generate a company/personal one(and only 1), and use that against each and every assembly you want to put in the GAC
or is there some other method that is employed?
|
|
|
|
|
I don't know what the norm is, but I can say what I do. I generate a single keyfile for use by everything I do for a company, whether or not it will go in the GAC. (You never know when you will want to put something there).
Depending on your environment, you may want to delay-sign the assemblies, and then complete the signing later with a super-secret key file accessible only to trusted people. (I have not needed to do that yet).
my blog
|
|
|
|
|
1-i want to notify to user when
a program try to access to internet do you think
is there any event in .net or in windows for this
purpose and if there is which events
2- i want to see all open ports in mycompuetr
somthing like netstat command in windows but iwant
do this programmatically
3-if i saw a port is open how can i close it
programmatically
koosha
|
|
|
|
|
Hi,
I have a .NET C++ based assembly "A" which is using some com interfaces dll (say "B"). Now I want to use this .NET assembly from another com dll "C".
To do so, I generated a strong key for A, used tlbexp.exe to create its tlb, register it using regasm.exe and to install it in global cache I used gacutil.exe. Now while using gacutil.exe it gave me error that one of the refered interop (which was interop for B) has no strong key. So I created a strong key and generated the interop for B using tlbImp.exe. But then there were a bunch of other com dlls which dll B was using and were with out strong-key.
I am stuck here and don know what to do. Can anyone let me know anyother way to get out of this problem?
Thanks
Bilal Farooq
|
|
|
|
|
It is not necessary to register A in the global cache in order for it to work. So, assuming regasm did not give any errors, you should be fine as-is...
my blog
|
|
|
|
|
I try to do the first steps on WSE 2.0.
First I try the QuickStart Samples, which works.
I rewrite the samples to give them a WinForm UI, works.
But as I start with new projects, I get the 'Operation Timed Out' message whatever I try. I also try to build in some errors in the original code to get the message too, but I never get it.
I am out of ideas new, maybe one could help.
I have prepared a zip of my project for all interested helpers.
THANKS
Gerhard
|
|
|
|
|
Hi guys,
I'm trying to use .NET to retrieve the list of Internet Explorer history but don't really know where to start. Does anyone have any advice or clue on where and how I should start!?
Thanks...
Anzy
|
|
|
|
|
in folder(french version) : C:\Documents and Settings\username\Local Settings\Historique
|
|
|
|
|
Hiya,
I've written a macro for vs.net 2003 to create a .cpp file with all the usual boilerplate stuff at the top. It works fine to an extent - the file is created and filled with the commented boilerplate text. However, I can't find out how to add the file to the current solution and open it automatically after creation.
Any help would be massively appreciated!!
|
|
|
|
|
Hiya,
fixed it - here's the solution for anyone who didn't know how to do it themselves. Also hopefully google will pick this up so anyone looking for a similar solution will find it!
Dim fullpath As String = "c:\file.cpp"<br />
<br />
DTE.ItemOperations.OpenFile(fullpath)<br />
DTE.ItemOperations.AddExistingItem(fullpath)
|
|
|
|
|
Is possible to create a round form for pocket pc in vb.net?? Or any different shape in a form?
|
|
|
|
|
Hi,
I am working on an application that needs to access the token generated by Active Directory when a user logs in. I believe the token is a kerberos token. Is there some way to access that token using the .NET FCL or any other way?
Secondly, if I am to generate a kerberos token so as to enable a user to log into an application using AD for the authentication through a .NET application without having a login box, do I need to have a separate domain controller? Can't I just use my workstation as a local domain controller? If I cannot, would it help if I installed Windows Server 2000/2003 ?
I am working on a system that has Windows XP Professional edition with SP1 installed and am using ADAM (Active Directory Application mode).
|
|
|
|
|
I have a simple windows form with a DataGrid bound to a dataset from a database. When the form closes (event 'Closing') I want to flush all changes made in the grid to the database. Everything is fine except the current cell...if I have not left the cell, the data is not updated.
So far I have tried
<br />
private void OnClosing(object sender, System.ComponentModel.CancelEventArgs e)<br />
{<br />
System.Windows.Forms.DataGridCell cell = this.dataGrid1.CurrentCell;<br />
DataGridColumnStyle dgc = this.dataGrid1.TableStyles[0].GridColumnStyles[cell.ColumnNumber];<br />
bool good = this.dataGrid1.EndEdit(dgc, this.dataGrid1.CurrentRowIndex, false );<br />
<br />
this.oleDbDataAdapter1.Update( this.dataSetFeature1 );<br />
}<br />
without luck. Does any one know how to get the current state of the cell into the dataset during 'Closing'?
thanks in advance
cje
|
|
|
|
|
Hi,
My problem is that I have to access inbox and outbox folders on a clients machine. Currently the client would connect to a website and click on a send/receive link which would take them to a page that uses a activex tag calling a vb6 cab file which would install a couple of things (+-2 mb) and continue on it way to accessing the folders. I would like to convert the vb6 to c# but from what I've read The client would have to download the framework which is just too big for them since most of them are on dial-up.
I have lost hope and I am seriously doubting whether anyone would even answer this post -
Any suggestions would be appreciated - Thanks in advance.
Gavirj
|
|
|
|
|
As far as I know: in general, if framework deployment is an issue, then your only other option is ASP.NET with Web Forms / Web Services. This removes the issue of client deployment, but I am not sure you would be able to achieve your requirements using this method.
|
|
|
|
|
Using ASP.NET would be ideal as they wouldn't have to download anything. But I think the problem comes in with accessing their local directories. Does anybody know if it is possible to use ASP.NET to access a clients local files over the internet...maybe by digitally signing the code something similar to the way java does it ?
gavirj
|
|
|
|
|
Nope, not possible to use ASP.NET that way.
I remember seeing a web site that promoted embedding only part of the framework in your application, but I could not find a link. If that is possible, then you could make a smaller distribution.
|
|
|
|
|
Hi pals,
I´m building a compiler for an Algorithm Specification Language, and the values passed to the functions are huge (64 bit), so the call stack overflows quickly. Does anybody know how to change the stack size for the current process in a .NET program?
Thanks in advance.
|
|
|
|
|
It's so strange that today when I compile some sample code on .net remoting, vs.net 2003 says System.Runtime.Remoting.Channels.Tcp does not exist! also,the .Http namespace does not exist.
I remembered I should have comiled and ran some examples contained Tcp or Http namespace.
Framework 1.1.4322, Win2K advanced server with sp4.
And I reinstalled VS .net 2003 but I takes no effect.
What's the problem? Any one had encountered?
Thanks.
|
|
|
|
|
Hi,
I have a complete implementation of a codesmith-template compatible code generation engine that supports batch output, subtemplates, and outputs in any .NET language that has a CodeDom provider. Here's an example of how you would write a template that can output to multiple targets:
Let's say we had a template class named MyTemplate with the following interface:
class SampleTemplate
{
public void GenerateText(System.IO.TextWriter writer);
}
Then let's say that I wanted write the output of this template simultaneously to the console, a string, and a file at the same time. Here's how it would look:
class Class1
{
public static void Main()
{
...
// Create the template itself
SampleTemplate MyTemplate = new SampleTemplate();
// Create the targets to write to
StringTarget sTarget = new StringTarget(MyTemplate);
FileTarget file = new FileTarget("myfile.cs", MyTemplate);
ConsoleTarget console = new ConsoleTarget(MyTemplate);
// Output to the console
Console.Write();
// Output to the string
string sOutput = sTarget.ToString();
// Output to the file
file.Write();
...
}
}
Right now, I'm still not sure whether to publish this, but I'd definitely like to see what everyone's opinion on this is. What do you think?
|
|
|
|