Click here to Skip to main content
15,907,120 members
Home / Discussions / C#
   

C#

 
AnswerRe: Problem with the link ! Pin
pmarfleet1-Nov-07 0:04
pmarfleet1-Nov-07 0:04 
GeneralRe: Problem with the link ! Pin
whale841-Nov-07 6:06
whale841-Nov-07 6:06 
GeneralRe: Problem with the link ! Pin
pmarfleet1-Nov-07 6:15
pmarfleet1-Nov-07 6:15 
GeneralRe: Problem with the link ! Pin
whale841-Nov-07 16:52
whale841-Nov-07 16:52 
GeneralRe: Problem with the link ! Pin
pmarfleet1-Nov-07 23:43
pmarfleet1-Nov-07 23:43 
QuestionHow to merge two XML? Pin
Sri_346431-Oct-07 21:28
Sri_346431-Oct-07 21:28 
AnswerRe: How to merge two XML? Pin
Andrei Ungureanu31-Oct-07 21:40
Andrei Ungureanu31-Oct-07 21:40 
QuestionProblem with creation of new website Pin
0x49D131-Oct-07 21:22
0x49D131-Oct-07 21:22 
Hello
i do something like this:

public static bool CreateNewWebsite(WebSiteInfo WebsiteInformation)
{
string strIISPath = WebSiteInfo.IIS + WebsiteInformation.ServerName + WebSiteInfo.WEBSERVICE;

// Check if path points to any existing directory
if (DirectoryEntry.Exists(strIISPath))
{

///and here comes exception
--

The system cannot find the path specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: The system cannot find the path specified.

--
While debuging i found out that exception is here:
DirectoryEntry.Exists(strIISPath)
but strIISPath is right("IIS://server_name/W3SVC"),so,cant find the reason of the problemFrown | :(
thnx
AnswerRe: Problem with creation of new website Pin
Abhijit Jana31-Oct-07 21:30
professionalAbhijit Jana31-Oct-07 21:30 
AnswerRe: Problem with creation of new website Pin
Abhijit Jana31-Oct-07 21:34
professionalAbhijit Jana31-Oct-07 21:34 
GeneralRe: Problem with creation of new website Pin
0x49D131-Oct-07 22:01
0x49D131-Oct-07 22:01 
Questionhow to pass a link through gridview using linkbutton or onclick event Pin
alok217131-Oct-07 21:05
alok217131-Oct-07 21:05 
QuestionDataSet Pin
ilango gandhi31-Oct-07 20:24
ilango gandhi31-Oct-07 20:24 
AnswerRe: DataSet Pin
Corinna John31-Oct-07 22:48
Corinna John31-Oct-07 22:48 
QuestionC# Specification Pin
Michael Sync31-Oct-07 20:15
Michael Sync31-Oct-07 20:15 
AnswerRe: C# Specification Pin
Scott Dorman1-Nov-07 3:33
professionalScott Dorman1-Nov-07 3:33 
GeneralRe: C# Specification Pin
Michael Sync1-Nov-07 4:58
Michael Sync1-Nov-07 4:58 
QuestionXml Prob Pin
G.K.M.31-Oct-07 18:52
G.K.M.31-Oct-07 18:52 
AnswerRe: Xml Prob Pin
sam#31-Oct-07 20:03
sam#31-Oct-07 20:03 
QuestionHow to send message to a window Pin
sduhd31-Oct-07 18:43
sduhd31-Oct-07 18:43 
AnswerRe: How to send message to a window Pin
Christian Graus31-Oct-07 18:51
protectorChristian Graus31-Oct-07 18:51 
AnswerRe: How to send message to a window Pin
Nouman Bhatti31-Oct-07 20:23
Nouman Bhatti31-Oct-07 20:23 
QuestionProgram to capture infrared codes from a remote control Pin
Emotu31-Oct-07 17:53
Emotu31-Oct-07 17:53 
AnswerRe: Program to capture infrared codes from a remote control Pin
Andrei Ungureanu31-Oct-07 21:47
Andrei Ungureanu31-Oct-07 21:47 
GeneralRe: Program to capture infrared codes from a remote control Pin
Emotu1-Nov-07 10:11
Emotu1-Nov-07 10:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.