I guess my mind is so engaged in IIS and web applications that I can't think of a reason to go through the trouble of using a self-hosted WCF service. I have always had the availability of IIS so creating a self-hosted WCF service seems like more work than I would want to do. Why would I want to do this?
Is it possible to host 2 asp.net projects off one ip address? I don't have a domain name just an ip number. I'm running IIS7.
The first project runs and displays fine over the web by simply typing in the ip address into the browser but I'm having trouble accessing the second.
Currently both projects have virtual directories in IIS7.
Help is greatly appreciated.
Thx
Hello Im trying to make a chat program like skype in c# and having some trouble gavring/updating the messages, what i tryed was foreach value in a database add it into listbox1, and i did a timer every second do that.. but it kept adding it again every second repeating like it was on loop
So then i sat down and thought how can i do this, so i come up with webclient download a list of messages by php and foreach line in the webclient add it to a listbox! is there any way of doing this?
Howdy, having a little trouble here.
I have domain.co.uk setting a session. When I click on a link on domain.co.uk to go to sub.domain.co.uk the session is not being read.
I have altered session.cookie_domain to .domain.co.uk not still not working. Is there anything else that needs changing?
Regards,
me.
Hi,
I am having trouble getting indentation to work in Vim. I am coding in C++.
I use vim.nox on ubuntu 9.10
I have filetype plugin indent on
I also tried set cident , set autoindent, set smartindent etc.
Automatic indentation does not seem to work.
I notice in the default MVC template project that the Account registration fields are highlighted via a class change.
I can't seem to get the same behavour out of my own code (in the same project - same CSS etc)
What might be stopping this from occuring?
Update
I believe this relates to one of my other questions
Because I was having trouble with NullReferenceExceptions I have changed the Html.ValidationMessage fields to have different names than the target fields.
So really, I need to resolve this question
I have a Windows CE console application that's entry point looks like this
int _tmain(int argc, _TCHAR* argv[])
I want to check the contents of argv[1] for "-s" convert argv[2] into an integer. I am having trouble narrowing the arguments or accessing them to test.
I initially tried the following with little success
if (argv[1] == L"-s")
I also tried using the narrow function of wostringstream on each character but this crashed the application.
Can anyone shed some light?
Thanks
Hi,
I am using C# and I am having trouble loading large files into a binary field use byte arrays.
Basically, if I load a file that is too large, I get memory problems.
Is there a way to load a file into a binary field without using large amounts of ram, i.e. avoid loading the file into memory first?
If it helps, I am using Advantage Database Server and this is using a winforms app not a web app.
Regards
What would be the best way to create a JS chat client with GWT? The bit that I'm having trouble with is the persistence and transfer of the messages. Should I store the messages in a DB and check the db for new messages? Is there a much better way to do this?
Could someone give few tips and/or examples how Controller Plugins and Action Helpers are different? Are there situations where particular task could be accomplished with one but not another? For me they both look more or less the same and I'm often having trouble having to decide when to use what... Are there any big differences?
Hey everyone,
I'm trying to make a jabber bot and I am having trouble keeping it running while waiting for messages. How do I get my script to continuously run? I have tried calling a subroutine that has a while loop that I , in theory, have set up to check for any messages and react accordingly but my script isn't behaving that way.
Here is my source: http://pastebin.com/03Habbvh
Hello, as a way to spice up my C++ programming homework, I've decided to instead of typing the C++ from the book onto my computer, instead reforming it in Ruby. Yes it's a bit silly, but I'm bored.
Anyway, I'm having trouble converting this kind of function to Ruby
void swap(int &a,int &b){
int c=b;
b=a;
a=c
}
What would the equivalent ruby code looking inside a function ?
I am having trouble believing the following code is the most efficient way to move a value from the stack to ST(0):
.data
var dd 4.2
tmp dd ?
.code
mov EAX, var
push EAX
; top of stack now contains a value
; move it to ST(0)
pop EAX
mov tmp, EAX
fld tmp
Is the temporary variable really necessary? Further, is there an easier way to get a value from the stack to ST(0)?
I'm having trouble passing a struture array as a parameter of a funtion
struct Estructure{
int a;
intb;
};
and a funtion
Begining(Estructure &s1[])
{
//modifi the estructure s1
};
and the main would be something like this
int main()
{
Estructure m[200];
Begining(m);
};
is this valid?
Inside a grails application, I need to upload a file under web-app/js, add a prefix, and put it in S3. I'm having trouble figuring out how to read the js file in a way that will work in development (/web-app/js) and production (/js). I'm doing this from inside a domain object.
Using C++/CLI and Windows Forms, I'm trying to make a simple scrollable list of labelled text controls as a way of displaying some data fields. I'm having trouble making a TableLayoutPanel scrollable - every combination of properties I've tried seems to result in some really peculiar side effects.
So I have two questions:
Is this the best way to do it.
If it is a reasonable approach, what magic combination of settings should I apply to the table layout panel to make it play ball?
Hey guys!
I'm having trouble figuring out how to exclude /public/bin from this rewrite rule
RewriteCond %{REQUEST_URI} !firerift.php
RewriteRule ^(.*)$ firerift.php/$1 [L,QSA,NC]
Any help would be appreciated.
I'm having some trouble getting CGI.pm to output to HTML5 instead of XHTML 1.0 or HTML 4.01. When I try "HTML5" or "HTML 5" as the -dtd argument in start_html() I get a document in HTML 4. I've also tried importing :HTML5, but that doesn't seem to work either. Any advice?
I am using Easy Slider 1.7 - jQuery plugin and have made many modifications. My slider contains 7 slides, numeric navigation and next and previous arrows. The only problem is the numeric navigation. When you are on slide 1 and click slide 5, for example, all the slides scroll by, one-by-one. I am having trouble modifying the code so that whatever slide you are on, when you click another slide, it is the next one.
Sample here: http://www.weiserwebworld.com/slider.html
Hey Guys
We have a nasty little problem. In short we can detect if a screen is connect when x11 boots (we do this by looking at the log - Xorg.0.log), but we are having trouble detect when are screen is disconnected while the machine is running (ie post x11 boot)
Any one have any ideas?
Cheers
[revised]
I'm creating a TreePanel in ExtJs that is loading its children from a JSON file. I'm having trouble adding a click action to the nodes. I'm not sure whether it's added in the script creating the tree, or if its added as a property in the JSON, and if so, what the syntax would be. Any help would be appreciated! Please provide an example if possible.
I'm having trouble merging two branches with Gity. When I do a checkout on my master branch and click: "Merge into master" nothing seems to happen...
Any thoughts?
I'm having trouble with the following collections initalization:
private Dictionary<string, string> mydictionary = new Dictionary<string, string>()
{
{"key", "value"}
, {"key2", "value2"}
, {"key3", "value3"}
};
I keep getting various compiler errors about the syntax. From what I have googled this should be perfectly valid C# 3.0 code.
The first error that pops up is:
Error 102 ; expecte
What am I doing wrong?
After being busy sometime with website development and constantly having trouble with making my website work on IE also, i thought it might be handy to have an overview of what the most major issues with IE are, so that one can take care of addressing them from the beginning.
(Should this be a community wiki?)