Thank you so much @per-samuelsson i did open it using localhost:8080/test2 it worked fine....
Per Samuelsson
@per-samuelsson
ok, great :fire:
just let us know if u need some further help
pal88
@pal88
i cannot use personal server .... as im not able to edit anything in the starcounter server
what is the extension you are talking about?? dont remember to have installed it...
Per Samuelsson
@per-samuelsson
the "extension" is what allows you to build starcounter applications in visual studio, it is enabled/installed by default, so you probably just have it. i guess you are creating your applications by using New Project | "Starcounter Application" in Visual Studio?
pal88
@pal88
yes...
Per Samuelsson
@per-samuelsson
ok cool, so then you have the extension
pal88
@pal88
but still what/which extension are we talking about...
Per Samuelsson
@per-samuelsson
its installed, it came as part of the installer, it runs inside visual studio, and allows u to start your application from there
whats the story with the personal server? what do u mean u cant use it?
pal88
@pal88
i cannot edit in the server...:(
it just starts...
its pinned on the taskbar else its lost...
Per Samuelsson
@per-samuelsson
well, "editing the server" is not something you normally do, but of course it can be done
what exactly is it tha you want to edit?
pal88
@pal88
by edit i mean type or run files on server
Per Samuelsson
@per-samuelsson
what files?
do you mean to have static files, like .html-files, and be able to access them?
pal88
@pal88
no no..... run application /projects/files in command line tool....
_
Per Samuelsson
@per-samuelsson
well, sorry i dont think i understand exactly what it is you want to do :worried:
the server console you see is a machine-wide "service" that you can consider some kind of controller of all apps and databases on your machine
you never access that server directly, if thats what you mean
starcounter is about writing applications that expose themselves to the outside via REST interfaces (normally), i.e. the Handle.GET for example
pal88
@pal88
ok... so i tried running example files in command line/command prompt... it said file not found for all files... so i thought may be we can access it in the starcounter server command prompt...... sorry for confusing...
for the examples where we have accepting parameters in the examples like squaring a number.... error SCERR6066- an unhandled,unidentified nonstarcounter execption occurs
Per Samuelsson
@per-samuelsson
hi pal88
can u provide the code that fails with 6066-error? its hard to help you solve this without seeing the code
it runs now but gives error" URI not found: GET /example4 "
when tried to open it in a browser...
Per Samuelsson
@per-samuelsson
" GET /example4" is the wrong string, you should to "localhost:8080/squared" to invoke it
pal88
@pal88
tried that as well still says the same thing...:(
it says resource not found..
Per Samuelsson
@per-samuelsson
maybe you are not formatting it correctly? are you providing a number to be squared for example?
pal88
@pal88
should not the number be given at run time
Per Samuelsson
@per-samuelsson
localhost:8080/squared?10
yes, it should, its a parameter in the call to your handler
pal88
@pal88
oh i dint know that....thanks..
Per Samuelsson
@per-samuelsson
if u define your handler like u have done in the code above, you should invoke it (from a browser for example, or using curl) like this: localhost:8080/squared?100
pal88
@pal88
im sorry may be i dint understand the tutorial properly....it should have been beginner friendly...
thanks for your patience... @per-samuelsson
Per Samuelsson
@per-samuelsson
sure, no problem! we are here to help :hand:
pal88
@pal88
is there any tutorial on how to plot a graph using starcounter??