I figured out the problem. I had a pound sign in the name of one of the subdirectories of the site. I moved the application to a new location and everything is fine.
In Visual Studio 2008, I am not able to view the content of the master page or the content page in the designer while I am in the content page. But if I create a page not based on a master page, then I'm able to view the content of the page.
Has anyone else had this nagging problem and how did...
How would I go about querying an MS Outlook Inbox for a specific user? Do I have to create a linked server and how would I go about doing that for Exchange or Outlook? A sample query would also work for me ;)
Thanks
I'm able to export text content to a Word document, but what I'm really after is to produce an HTML table displayed in Word. Right now, if I try to export html content, it only shows the markup tags.
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType =...
I want to create an associative array that is indexed by varchar2.
For example, an array of reference codes and reference periods for months of the year.
TYPE t_referenceperiods IS TABLE OF VARCHAR2(25)
INDEX BY VARCHAR2(25);
v_referenceperiods t_referenceperiods;
v_referenceperiods('M01') :=...
Is there a way to declare and assign an associative array in one statement? Every example I've seen uses a separate line of code to assign each index a value. In most programming languages, you can declare and assign in one statement like so:
c#
int[,] nums = {{0,1},{0,2}};
Also is there a...
Obviously I am able to catch the exception. If it were just displaying the message that's easy. I have to send control to a specific Database Down error page if a user cannot connect due to a database problem.
Your code quickly gets messy I think if you are looking for specific error codes...
One of the requirements of an application I am working on is to display a message to the user if they are unable to connect to the database.
I need to display a "database down" message to the user if something is wrong with the database. I need to send an "invalid username/password" message to...
I have created a COM+ component that can be accessed either through ASP or ASP.NET applications.
I have created this as a .NET class library.
I have noticed that the component fails intermittently in the ASP applications but not in the ASP.NET applications. I'm not seeing anything on the event...
First, I am using Visio 2007.
I am trying to implement decisions in an Activity Diagram in the Software Modeling group.
One of the choices branches to the right, and I set the Guard option/display for that. This displays well.
However, the other branch orients below the Decision. When I set...
In the ClickOnce security settings in the Project Properties Security tab you can elect to grant the assembly full trust by clicking the check box.
It's not a requirement to give an assembly a strong name in order to grant it full trust. But by giving the assembly a strong name, it bypasses...
Something within the angle brackets usually represent a generic type (Generic Collection), rather than a primitive data type.
private List<string>
private List<employees>
Just means you have a list of type string or list of type employees, which is an employees class.
Java also supports this.
I should have said that Windows or Console apps won't run off the Network drive unless you apply full trust to them. I believe Microsoft was trying to prevent a security threat by not allowing executables to run unabated on a network share.
Windows or Console apps won't run off of the network drive. I gave the assembly a strong name and gave the assembly FULL TRUST using the .NET Framework Configuration Tool. I put it in the intranet zone code group and used the strong name as the membership condition.
This worked for me for a...
I believe the using block will also close and dispose your connection if an exception is thrown. Basically a using block mimics a try finally behind the scenes.
Below is a link that describes this in better detail.
http://davidhayden.com/blog/dave/archive/2005/01/13/773.aspx
Actually if you use the using statement, you don't need the close or the dispose methods because they are implicitly called by the using block.
That's the real benefit.
Some people prefer to enclose the using statement within a try catch or try finally block so you can catch the exceptions...
In order for ASP to see the .NET component, the component needs to be registered in the registry. You could go two routes, a COM interop assembly or COM+. The COM interop gets registered with regasm.exe and the COM+ with regsvcs.exe.
Either way, you still would access the component as any COM...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.