Click here to Skip to main content
16,015,077 members
Home / Discussions / C#
   

C#

 
GeneralRe: Parse javascript Pin
Not Active22-Feb-10 12:25
mentorNot Active22-Feb-10 12:25 
GeneralRe: Parse javascript Pin
Ziga122-Feb-10 3:13
Ziga122-Feb-10 3:13 
AnswerRe: Parse javascript Pin
Ziga122-Feb-10 7:35
Ziga122-Feb-10 7:35 
Question'Basic' Client /Server Pin
tdata21-Feb-10 23:49
tdata21-Feb-10 23:49 
AnswerRe: 'Basic' Client /Server Pin
Paulo Zemek22-Feb-10 2:59
Paulo Zemek22-Feb-10 2:59 
AnswerRe: 'Basic' Client /Server Pin
Ravi Bhavnani22-Feb-10 3:13
professionalRavi Bhavnani22-Feb-10 3:13 
AnswerRe: 'Basic' Client /Server [modified] Pin
tdata22-Feb-10 3:44
tdata22-Feb-10 3:44 
AnswerRe: 'Basic' Client /Server Pin
tdata23-Feb-10 22:08
tdata23-Feb-10 22:08 
Seems I do need more help after all. I have 2 main issues. The first is that I get different results when using the .NET 3.5 Framework and the .NET 4.0 Framework. The app functions correctly in 4.0 but returns a few odd things in 3.5. While all in all it doesn't matter, I'm using 4.0 as the primary anyway, it does pose a problem on the end-user. 3.5 is standard but 4.0 is in beta4 so most will not touch it.

My second problem is this:
 System.ServiceModel.CommunicationObjectFaultedException: The communication object,
System.ServiceModel.ServiceHost, cannot be used for communication because it is in the Faulted state.
at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)
at System.ServiceModel.ServiceHostBase.System.IDisposable.Dispose()
at Impur.Game.Network.Server.Program.Main(String[] args)


Now, I understand the error. It is because I went the Using route when making my ServiceHost. My problem is that I don't know hot to do it another way. Now, my app works perfectly on my computer, but gives that error on my Dev Tester's computer.

Here is the code I use. Maybe you can tell me how to do it another way:

using (ServiceHost host = new ServiceHost(
    typeof(Actions),
    new Uri[]{
    new Uri("http://localhost:8000"),
    new Uri("net.pipe://localhost")
}))


EDIT:: Fixed the Second problem and have now encountered:
System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:8000/. Your
 process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353
 for details). ---> System.Net.HttpListenerException: Access is denied


This one I have no clue about.
QuestionDisplay correct date in asp.net website Pin
dalila y21-Feb-10 22:52
dalila y21-Feb-10 22:52 
AnswerRe: Display correct date in asp.net website Pin
OriginalGriff22-Feb-10 3:09
mveOriginalGriff22-Feb-10 3:09 
Questionskype Pin
sanforjackass21-Feb-10 21:11
sanforjackass21-Feb-10 21:11 
AnswerRe: skype Pin
Dan Mos21-Feb-10 21:23
Dan Mos21-Feb-10 21:23 
AnswerMessage Removed Pin
21-Feb-10 21:25
stancrm21-Feb-10 21:25 
GeneralRe: skype Pin
sanforjackass21-Feb-10 21:35
sanforjackass21-Feb-10 21:35 
GeneralMessage Removed Pin
21-Feb-10 21:41
stancrm21-Feb-10 21:41 
GeneralRe: skype Pin
sanforjackass21-Feb-10 21:45
sanforjackass21-Feb-10 21:45 
GeneralMessage Removed Pin
21-Feb-10 21:47
stancrm21-Feb-10 21:47 
GeneralRe: skype Pin
sanforjackass21-Feb-10 21:52
sanforjackass21-Feb-10 21:52 
GeneralRe: skype Pin
Richard MacCutchan21-Feb-10 21:48
mveRichard MacCutchan21-Feb-10 21:48 
GeneralRe: skype Pin
sanforjackass21-Feb-10 22:10
sanforjackass21-Feb-10 22:10 
GeneralMessage Closed Pin
21-Feb-10 22:27
stancrm21-Feb-10 22:27 
GeneralRe: skype Pin
sanforjackass21-Feb-10 23:08
sanforjackass21-Feb-10 23:08 
AnswerRe: skype Pin
Kevin Marois22-Feb-10 6:15
professionalKevin Marois22-Feb-10 6:15 
GeneralRe: skype Pin
sanforjackass22-Feb-10 9:47
sanforjackass22-Feb-10 9:47 
AnswerRe: skype Pin
shawnzhang24-Feb-10 21:58
shawnzhang24-Feb-10 21:58 

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.