I'm starting with Socket.io with Node.js.
I found this tutorial and I decided to make my own simple chat based on it. Unfortunately it didn't work. I've done some research but I didn't find anything helpful, so I downloaded source code and run with Visual Studio 2012 and... it still doesn't work :/
Normally when I click "run" button in Visual Studio, appears command prompt and then browser with my site. In this project appears only that:
and that's it. It seems like something went wrong, I can't access to my server from browser, so it seems like it haven't been created.
This is link to my project: Download
Please, tell my what I've done wrong :/
The worst thig is, that I haven't got any errors, it just doesn't work.
Related
Ive got a project which i run on my main computer, everything works fine there. Then i also want to use that project on my laptop, so i get the code via git from azure devops, build the project and everything shows up as working. As soon as i want to run the project, either via npm start or via visual studio 2019, i get a 500 error displayed in the browser, like really quick.
And i get zero error codes or messages, the only push in the right direction is that the cmd that displays the status of IIS, displays 500.19, but thats it. I have no idea what this might be since it doesnt show any errors?
It is installed on a fresh computer, we tried installing this on another computer and it worked there, but not on my computer.
Ive tried numerous things, such as reinstalling IIS Express, editing / removing applicationHost.config, editing web.config, checking access rights for all the files and folders.
Possible solution?:
According to my project on my other pc and the internet there should be an applicationhost.config in .vs/config/****, which it doesnt for me? which may be a problem? i dont know to be honest, i have been stuck on this problems for a couple of days now..
Let describe my issue:
I have developed JS app for Windows 10. It works on desktop- background audio, title, album cover- all stuff i need. In VisualStudio- when i deploy app to Mobile Emulator (10.10586)- still- background audio works even if app is gone.
If i deploy my app through Visual Studio to my Mobile Device- everything works great (when it is run/deployed from visual studio). BUT (notice that) - if i open that compile app again from my device (later, i exit visual studio or just close the solution)- backrgound audio: didnt work.
Hope i describe it well- i deploy app, which work great when compile it first time, but lately... didnt.
So, i can provide my code if someone need to check out, but i think is something with platform... and i am not sure how to fix that and how to get help with that :/
Thank you!
After research i made... there is no chance to build and complete that only with javascript. For now... after Anniversary update (2016, August) there is a chance- Microsoft employee confirms that will be possible and we can explorer that with this example they provide: https://github.com/Microsoft/Windows-universal-samples/tree/dev/Samples/BackgroundMediaPlayback ... so... will wait to see :)
I am using Windows 8 and Visual Studio 2012 to run an ASP.NET web application locally. Problem is I can't figure out how to attach the debugger. I tried debug>start debugging but it gives me the following error...
I added a breakpoint in my code and tried starting/hitting site, but no dice. I also checked my project and ensured ASP.NET debugging was checked and confirmed the proper config in my web.xml.
Any ideas?
Update:
Ok I can attach to the process using the following....
But it still says my symbols have not been generated...
And when I try to connect to iisexpress instead I see...
You need to attach the debugger to iisexpress.exe. Although this worked for me it did throw up an error at first so my assumption is that it can just be ignored. I am marking this as the solution for now, however, if someone comes up with a better answer I will switch.
It looks like you are trying to start a library project and not an asp.net project.
Do you have more than one project in your solution? Try right clicking your project file and clicking 'set as start up project' and debugging it again.
If you only have the one project in your solution, or you are sure the right project is set as the start up project, then you probably created the wrong project type for it. Create an asp.net project and move your files over into that.
Make sure your project is a asp.net project. If it is, right click on the project and select "set as startup project", then try running it.
When I am trying do deploy/debug etc. my hosted app :
I am writing good credenials, and then something strange happen what happen only on one machine (sad to say it's only mine).
After putting sign in button (keep me signed checked/uncheced 100 times) it's would not login, but open sharepoint 2013 site in this window:
What I did:
reinstall visual studio
update visual studio
restart computers
clear cookies/catche etc.
Solved accidentally by installing CKSdev tools but only for one run...
It once happened to me that while it was a debug version all credentials were always rejected. I still don't really know why (it was a big project, not fully made by myself), but as a temporary solution you may try hardcoding your credentials. It's not perfect, but it may be working ;)
The one and only solution was reinstaling the windows, i didn find any other solution
edit:
After the newest updates this problem is solved
I'm happily in the middle of coding then I try to launch my app in debug mode but I get this error message.
Unable to activate Windows Store app
This app failed to launch because of an issue with its license
The app was launching fine a few minutes earlier so this came as a surprise. I tried restarting Visual Studio but doing so did not help.
I got the annoying "renew your developer license" dialog yesterday I think. It had renewed without issue.
How do I make this error message go away so i can debug my app?
Well, I got it working by deleting the main project's 'bin' and 'obj' folders. Cleaning and Rebuilding wasn't enough. Hope this answer saves someone else the few minutes of confusion I just experienced.
I recently had a similar issue. In my case I had to uninstall the re-install the app to get it working.
Hope this helps someone. Also, to find out further detail about why it failed, you can checkout the event logs:
Event Viewer > Applications and Services logs > Microsoft > Windows > Aps > Microsoft-Windows-TWinUI/Operational
There might be some more detail in there. In my case it was logged as an error event which said the app could not be launched because of a temporary issue with its license.
I just uninstalled the existing version of the app from the start screen, and then launched the app again from Visual Studio and it is launched just fine.
I think the reason behind this is because of renewing the license of Visual Studio and trying to launch an app that was installed when the previous license was active.
I see doing stuff with the bin and obj folders appears to be the accepted answer to this.
I fixed this issue by selecting the 'Uninstall and then re-install my package. All information about the application state is deleted.' check box under the Debug tab of the project properties. You can uncheck it once you've done it once for all future builds.
I haven't had any issue with this solution. Simple fix and you don't have to worry about someone doing something to folders that could cause bigger issues.
http://daxdude.blogspot.com/2013/04/c-error-unable-to-activate-windows.html
I've had this issue a few times now, most of the time deleting the Bin and Obj folders will clear the issue up (These folders are automatically generated during a project build so don't worry about deleting them)
I have found whilst debugging on a remote device (A tablet or phone) that Deleting these folders doesn't solve the problem though - in this case the best solution I have found is just to do a restart on the device I was remote debugging to.
Simple but it works!
I just cleaned my solution and re-started Visual Studio. That did the trick for me - and didn't involve hunting around for files to delete, so you might want to try that first.
go to BUILD-->Clean Solution and click and after its has been cleaned again go to BUILD-->Rebuild Solution. After it has successfully rebuilt your solution just deploy it(Ctrl+F5). This solved the problem for me.