|
Need authentication integration, or something simple?
Theres a couple of free .htaccess solutions kicking around.
If you want the integration have a google for the wildcard mapping in IIS to convince it to push all requests thru the ASP.Net isapi dll...
Messy though... are you sure you can't stream the files out (using URL rewriting if you really need nice paths)? Actually you could probably have a generic handler using URL rewriting to pick the file off disk and stream it out. Messy again though heh.
|
|
|
|
|
Am I missing something? What about the "Directory Browsing" check box in the IIS console properties?
led mike
|
|
|
|
|
You must have forgotten that I'm not using IIS...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: You must have forgotten that I'm not using IIS...
that or I never knew to begin with. What are you using?
led mike
|
|
|
|
|
Hi
I am starting with .net and I wonder how I can load a menu from my resources.
I'm looking for something like CMenu::LoadMenu() of MFC.
thanks
eric
|
|
|
|
|
Hello,
I have created the shared assembly by giving it a strong name and then registring it with gacutil -i TestAssembly.dll
My issue is how can I reffer the shared assembly in the .net applicaiton.
Do I need to browse the path of the dll and add a reference to it? If yes then what shall be this path? The c:\windows\assembly?
Please let me know.
Regards,
Pavas
|
|
|
|
|
mpavas wrote: Do I need to browse the path of the dll and add a reference to it?
No. Just open up the Add References tab in Visual Studio and refer to it in the .NET Assemblies tab. If you've added it properly, it should be visible here.
|
|
|
|
|
How can I get the Assemblies in .NET Assemblies Tab?
I have created a stong name key and then I used the gacutil -i "Path of the Bin\Release\Tetassembly.dll"
Is this correct?
Regards,
Pavas
|
|
|
|
|
If the assembly has been installed correctly, the item in question should just show up in the list without any interaction from you. If not, then you've got some kind of problem with your assembly.
Yes, the command line you used to install the assembly is correct. If you've installed a bad assembly, then tried reinstalling a new one without removing the original, you might run into a problem. In that case, try uninstalling the assembly first, then reinstalling it. If that doesn't work, try adding the /f switch to the command line to force a reinstall without regard to the same assembly name already being installed, essentially, overwriting the registration details.
|
|
|
|
|
thanks will try this out
Regards,
Pavas
|
|
|
|
|
Hi,
I have the following problem: have a splitcontainer with horizontal orientation. The application saves the current settings of the user interface including the splitter distance when the form is closed. When the form is load up the settings should be restored. The problem I have is that everytime the form is loaded the splitter is not positioned correctly. Everytime a value is added to the original value of saved one. I figured it out that if I don't set the splitcontainer's dock propery to "fill" and I don't set the anchor property to "bottom", everything is working fine.
Any suggestion is really appreciated.
|
|
|
|
|
Hello everyone!
I know that System.Web is obsolete, but I can't use System.Net. becouse MS update for System.Net does't work for me.
So I have to use System.Web.Mail.MailMessage instead. It works fine. But when I try to attach file with
mailMessage.Attachments.Add(new System.Web.Mail.MailAttachment(Settings.Default.LicenseFilesStore + licenseFilePath));
My e-mail simply could't be delivered
Could someone please provide me with an advice. M.b. suggestion to download & use some custom developed smtp class.
Thanks in advance.
|
|
|
|
|
ZenyukIV wrote: becouse MS update for System.Net does't work for me.
And why's that?
ZenyukIV wrote: My e-mail simply could't be delivered
Was there any return message?? Some kind of error message?? Anything on the recipients end at all??
|
|
|
|
|
Dave Kreskowiak wrote: And why's that?
I don't know why MS update for System.Net does't work for me. So I use System.Web
Dave Kreskowiak wrote: Was there any return message?? Some kind of error message?? Anything on the recipients end at all??
Return message - "protocol is unknown"
Exception data - "System.Collections.ListDictionaryInternal"
Nothing on the recipients with attached file. But works well without attachment.
Thanks for help
|
|
|
|
|
Thanks for everyone.
I've refused using System.Web namespace becouse I've solved the problem with System.Net
The problem was pretty stupid. I've downloaded update for Framework 2.0 link[^] and installed it to ALL CUSTOMERS' PCs.
|
|
|
|
|
hi everybody
i have created a project in asp.net 2.0 having crystal
reports when i creates a setup in mine machine and then installs it then it works fine.while same setup when i runs in other machine i.e machine2
then it showa a error message that assembly named crystaldecision.enterprise.framework is not loaded.
so mine question is how to add this assembly in mine setup so that it run smoothly in all machines.
|
|
|
|
|
Hi all,
i do have a question of exe's , can we place exe's in GAC like dlls
If there is anyway please let me know
Thanks
sri
|
|
|
|
|
Just wondering what the exe is going to do in GAC. Since GAC is ment for sharing assembilies.
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
mukkanti007 wrote: i do have a question of exe's , can we place exe's in GAC like dlls
If there is anyway please let me know
Not that I'm aware of. I have to wonder why you'd want to do this anyway.
|
|
|
|
|
Why would you ever want to?? Do you know what the GAC is for??
|
|
|
|
|
Hi all,
I've just started using Word Interop and have noticed that it runs a new copy of Word 2007 every time it opens a new document, which is really slow. Is there a way of making it open a document in an already-running instance of WinWord.exe?
TIA.
|
|
|
|
|
Steve_Harris wrote: Is there a way of making it open a document in an already-running instance of WinWord.exe?
I don't know, what does the documentation say about that?
led mike
|
|
|
|
|
i'm not sure about word, but using excel you have an Excel.ApplicationClass, representing the excel app.
i use to share this object and add several worksheets.
maybe there's something simlar in word interop..
|
|
|
|
|
|
Just found this[^]. Unfortunately MS don't recommend this, they prefer you to start a new instance each time.
|
|
|
|