|
i am geting config error
Access is denied: 'GotDotNet.Elmah'.
gotdotnet.elmah could not be loaded,
but the reference is added,build succeded butunable to run in browser
PLz send me Slutions
Thanks and regards,
-- modified at 9:52 Saturday 20th January, 2007
surendra
|
|
|
|
|
Hi All,
We are starting a project (.NET/C# DB: SQL Server) and one of the main requirements is performance and reliability (the system is a "critical mission" one).
Could you please indicate articles/books/sites that could help us on:
- Defining the minimum hardware requirements (how many redundant servers should be considered, RAIDs, etc.) based on the expected number of user/requests,ammount of data etc.
- Technologies that could be used in order to support the desired reliability ( distributed services, load balance for example)
Thanks a lot,
Sergio
|
|
|
|
|
Microsoft lists System.Object as a reference type but how a value type like int or bool descends from System.Object?
There's arms,
Caetano
|
|
|
|
|
Caetano wrote: but how a value type like int or bool descends from System.Object
They're not a direct decendant of Object. There's an intervening class, called System.ValueType[^], that overrides the virtual methods in Object and supplies versions that are more appropriate for Value types. The IL for something like System.Int32 says that Int32 is really a structure. Structures decend directly from ValueType.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hi..
the web pages made with asp.net look fine in internet explorer but with netscape navigator some of the elements behave strangely..
i have a tree control with tables.it loads all data at once in IE (which is how i coded it) but in netscape it refreshes each time i open the parent node ( i dont know why?) and also the tree parent-child positions are distorted in netscape.
so can anyone suggest me how to make my website browser independent
enjoy..
|
|
|
|
|
Use Cascading style sheet to set the size , color etc
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
|
|
|
|
|
hi..
how to clear data in a crystal report viewer in console applications using vb.net.
thanks in advance
enjoy..
|
|
|
|
|
Hi
Can somebody point me to a standard/common method of storing and retrieving constants in code?
The things that come to my mind:
1) Strore them in a module.
Drawback: Would not know the origins of the constant by reading the code. There can be more than one module and constants can be spread across them..
2) Store them in a class as Shared (static in C#) variables.
Drawback: Cannot define them as const, hence the probability of somebody changing the value remains.
3) Store them in a class as Shared (static in C#)ReadOnly Properties.
Drawback: None that I can see (actually this occurred to me while typing this post).
What would be your suggestions and what do you do?
As an aside, do you follow some naming convention for these constants to denote what they might contain and to help in classification?
Shreekar
|
|
|
|
|
There are two types of constant values, constants and read-only members. You have to decide what type you want to use.
Constants are compiled into the code, so if you use a constant from a different project, and then change the constant in that project, you have to recompile the code that uses the constant in order for it to change there too.
Read-only members are read from the source every time, so if you change the value, it's guaranteed to change everywhere it's used. Also, a read-only member can get it's value from an external source like AppSettings. If the external source is expensive to read (like a file or a web service), you can read it the first time it's used and cache it in a local variable.
I usually create a static class called Settings where I put application wide constants and settings. It will contain constants and read-only static properties.
---
Year happy = new Year(2007);
|
|
|
|
|
Hi
Does anybody have any insight as to what exactly this method does?
MSDN shows This[^]
not really helpful. Has somebody used this?
Any ideas?
Shreekar
|
|
|
|
|
Hello,
Any simple way to create custom MSBuild or customize VS.NET 2005 to be
able to build say "Standard", "Professional" and "Enterprise" versions
of a product from the same sources?
Any available tools?
I want to build different versions from the sample source, including
and excluding some features/codes from some versions.
With love,
Paul.
Jesus Christ is LOVE! Please tell somebody.
|
|
|
|
|
I see three different approaches, all with their specific drawbacks:
You could use conditional compilation:
- add #if SYMBOL ... #endif to your source code
- create a new configuration with Configuration Manager
- set the appropriate symbols in Project Properties/Build/Conditional Compilation Symbols
This is only practicle for small differences though.
Or you could just make different projects. Now you must solve the problem anout sharing source
code. Two methods are available:
- since Visual insists on each project having its own directory, create them first,
then move the project files to the original folder and restart Visual.
- or keep the different directories, but rather than adding the source files, use the
"add as link" option hidden under the right arrow of the Add button.
This solution gets painful if you often add files, since now you must repeat this for
each project.
Finally, you could just build one version and cripple it in some way. Of course this
approach is vulnerable, the crippling code could be hacked by the end-user.
Luc Pattyn
|
|
|
|
|
Can someone tell me what the caspol command would be to "My Computer / Runtime Security Policy / Machine / Code Groups / All_Code / LocalIntranet_Zone" to "FullTrust"????
Something like:
Caspol -cg localintranet_zone fulltrust
perhaps?????
I don't want to screw this stuff up.
Thanks
|
|
|
|
|
Is there any particular order you need to follow to install
.net framework, IIS6.0, SDK, sql express 2005, msxml 6.0 parser.
Our network admin configured the server and I'm not sure if the configuration is correct. My .net application isn't working. Any suggestions?
|
|
|
|
|
IIS6 should have been first, MSXML 6.0, then the .NET Framework, whatever that SDK is, then SQL Express.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
When you deploy a vb.net application to a server, does it have to be in the wwwroot folder? Also, if jpg's aren't showing on the application what problem might be causing that?
|
|
|
|
|
Jonathan Snyder wrote: When you deploy a vb.net application to a server, does it have to be in the wwwroot folder?
No. If you create another root in IIS, it can be created under a different folder. But, I've never seen anyone go through the trouble other than ISP's.
Jonathan Snyder wrote: if jpg's aren't showing on the application what problem might be causing that?
Usually, the wrong URL path specified in the HTML.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Sir,
I have created a windows forms control in which I put a DSO Framer control. I have compiled it and registered in GAC. Even its doing fine when I used it in another windows application. But When I try to put it in a web page its not showing anything as it is the same thing showing the required word doc in windows application.
Please tell me what are the steps do I need to take to make it fine. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Please, PLEASE don't start cross posting the entire site again . This is an ASP.NET question, it's the ASP.NET part that is the problem. You've asked there, so leave it at that.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Its Ok. But only in two related parts of this forum. It wont be be a problem. I will not do as I did earlier. I will post in two forums only. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hi friends am Nithin.
I had done 4 or 5 webservice using http post method and wsdl...
Am facing some trouble for making the soap request(in C#) for Apache server (in java).
Can any one help me how can make a soap request for this server????
Rgds
Nithin
Thanks
|
|
|
|
|
Hi all
I have to find all LAN Machines IP Addresses and machines name so can any body tell me hoe it is possible and which namespace and API i have to use for that.
Thanks & Regards
Bankey
|
|
|
|
|
There is no namespace or API that will do this. You have to generate a list of valid IP addresses for your subnet, then try and PING each one of those addresses to see if it responds. Even then, the list you generate may not be accurate if a machine is at the address, but is powered off or in the middle of rebooting.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Has any one had any experience with this exception. From what I understand it involves a problem with the MSIL compiler and JIT. After googling the exception, I found that almost all of the cases were different in their beleived cause for failure and mine, like the rest did not match anyone elses.
Well, after taking apart the code line by line (This error does not let you execute the base method, stops before the method is called) I finally deduced where my problem was!!! I had used => in C# instead of <= comparative operand. The compiler did not pick this up as an error and just failed to operate the method containing this.
I am eager to find some one else who could see if this is just my machine or is it in the framework itself. Also, I would like to know more about this exception.
Our developers never release code. Rather, it tends to escape, pillaging the countryside all around.
The Enlightenment Project (paraphrased comment)
|
|
|
|
|
Can you post a code fragment with the => operator? I just tried to see if I could replicate it, and it's marked as an error during compile.
|
|
|
|