Difficulty with SQL Server 2014 training kit - sql-server

Trying to work on this training kit to get educated with SQL Server 2014.
As seen here:
https://www.microsoft.com/en-ca/download/details.aspx?id=41700
I can't get it to work. It seems to come with a pdf explaining how to get it to work on your browser. Apparently by default the browser (chrome) won't run "application that use XML configuration files when they are run from a local computer" The only way to get it to work is by placing "--allow-file-access-from-files" to the google chrome shortcut properties window in the "target" location.
Even after doing all this I still get a message saying "network error" and the message on the top of the screen on the browser saying "To run this page in google chrome, close Chrome then create a shortcut with the --allow-file-access-from-files" property on..." (basically telling me to do the thing I just did following pdf instructions the kit came with)
Does anyone know what is going on?
Thanks in advance.

Related

Deployed EAR is missing in the weblogic console menu

A weblogic application which is working fine, But on redeploying the .EAR file an error arises mentioning that .EAR file are already existing. On viewing weblogic console menu deployed, It shows no deployed .EAR.
Missing EAR File from Console Menu
This is peculiar, according to you, the application is working fine if that's the case then there should be something deployed on the server, but from the pic, I can't see anything.
This could probably because of the customize table option, it could be possible that you wouldn't have selected any of the available options.
If this problem arises after redeploying, then there is something wrong with the redeployed .ear. If by redeploying, you have just updated the .ear then it's mostly a problem with your .ear, if you have deleted and re-installed the .ear then you should probably check your config.xml file before and after the redeploy. And do check for your server logs when you are redeploying the .ear, that in itself should give a great deal of info.
Please do update your question with the server logs so that it would be easy for me (or others) to debug and help you out, and give an appropriate answer.

Visual Studio Code - Type Script - Unable to load tsconfig.json and packages.json schemas

I'm working on an Angular front end in Visual Studio Code for an app with a C# windows service back end. After spending a few days on the back end without touching the front end, I found that Visual Studio Code would no longer automatically recompile my typescript code every time I saved. Instead, I would have to ctrl+c out of the process and run "npm start" again.
I ensured that compileOnSave was set to true in my tsconfig.json. In doing so, I notice a warning:
Problems loading reference 'http://json.schemastore.org/tsconfig': Unable to load schema from 'http://json.schemastore.org/tsconfig': Unable to to connect to http://json.schemastore.org/tsconfig. Error: getaddrinfo ENOTFOUND json.schemastore.org json.schemastore.org:80
I noticed a similar warning for packages.json. I'm able to load the schema on the links on Google Chrome.
What could be a possible fix? Could I download the schema and load it in Visual Studio Code manually?
For me it wasn't the proxy blocking, but trusted domain list in VSCode.
Go to "Manage trusted domains" on Command Palette and add required url. Here we can add "http://json.schemastore.org"
This is whitelist for VSCode, as a security feature, stopping it running code from anywhere from internet.
Update:
Seems a network issue for me. When I set Http: proxy correctly it disappeared and json schema works well.
Go to "Settings" > "JSON" > "Schema Download" and disabled it.
That's worked for me.
The solution, as pointed out by #Matt Bierner in the comment above, is to set the "$schema" key to direct to a local schema file (which can be downloaded from the address in the error).
The problem seems to be caused by a web proxy. Why it showed up now is still unknown.
just follow these simple steps
click on the Settings icon at the bottom left of your vscode
search for JSON
you should see the schema download, it should be enabled
just turn it off
This worked for me.

power view with Sharepoint 2016

I am trying to publish sharepoint2016 website including Power View reports which created by SQL server services service (SSRS). there is top level site and bi center as sub-site; both are working fine but problem is that when I try to view the report it said the error:
"the web application at [url] could not be found. verify that you have typed the url correctly. if the url should be serving existing content, the system administrator may need to add a new request url mapping to the intended application."I search about the error but It does not reach my target.
https://forums.asp.net/t/1970799.aspx?SQL+Reporting+Service+Runtime+Error+The+item+reports+Report1+cannot+be+found+rsItemNotFound+
note that the whole site is working fine in domain.
Please help...
Thanks...
Sorry for late guys...
i found that Power shell of SP cannot execute any command related to SSRS
it just need to reinstall SSRS service compatible with SP2016. then every thing is fine.

Can't debug a local app engine PHP app with PHPStorm and Xdebug

I'm on a Mac and I've installed the latest version of the App Engine PHP SDK (1.9.19 - 2015-04-13) which include support for XDebug (since 1.9.18).
I'm using the latest version of PHPStorm (8.0.3) with the GAE plugin.
I've no trouble to run my app through PHPStorm but I can't get the debugger working automatically (will explain what it means few lines below).
Each time I try to debug my app, the debugger pane stays saying "Waiting for incoming connection with ide key '11634' " (the ide key is always a random number).
No breakpoints are triggered, and when I stop the execution, a little red popup displays: "debug connection with xdebug was not established"...
I've tried what the Google documentation suggests and it didn't work either.
Finally after hours of trying almost anything (compiling my own version of XDebug, checking every conf file, overriding php.ini to ensure paths to XDebug is correct and XDebug is on, etc...) I found a "workaround"...
The only way I can't get the debugger to work is to launch the app, then go to the debugger pane to know what's the key it's waiting for (let's say "15981"), then go to my web browser and manually add XDEBUG_SESSION_START=15981 as parameter to the URL.
Since the key changed every run, it's really a pain to work like that, and I don't talk about page redirection, etc...
Is anyone having a thought on that?
Thanks
You can start local App Endine server with App Engine For PHP run configuration, just as in JetBrains tutorial.
Then please enable Listen to incoming connections (that phone with small bug on toolbar near run configurations, or in menu Run | Start Listening for PHP Debug Connections). Then reload the page in browser. Debugger should stop on the first breakpoint or on the first line of code if that setting is enabled.
Also feel free to watch or vote the issue on bugtracker.
#leneshka has the answer! I've been pulling my hair out trying to figure out how to get PHPStorm to use the xdebug.idekey value I specified in xdebug.ini.
As soon as I enabled Start Listening for PHP Debug Connections, I was able to start debugging with my personal xdebug.idekey value.

Silverlight webapplication white screen of death

I'm having an white screen of death when trying to debug my silverlight application. The problem is that I don't know what causes it and I don't get any type of information from either Visual Studio or the browser itself (IE9). Breakpoints won't be hit as App() in the App.xml.cs doesn't get fired either.
The application works fine on my own laptop, but I'm trying to make final adjustments to it on the server which will host the application once it's done. The problem occures on this server.
Would there be any way to get information about what's causing it or did someone experience simulair issues?
hit F12 in IE and go to network and start capturing. You should see your error there if something went wrong downloading and also if there was a problem with the Silverlight plugin (check Console or Script tag).
There could be a number of reasons for this including problems with database connectivity, WCF services, and many other factors. One thing that might help you get some information is a product called Fiddler. If you are able to download and install that on your development machine, you can have it running when you try and access your application on the server. It will give you messages for every step of your application initialization, including database authentication, service authentication, the xap file transfer, etc.
My problem was related to init params not loading up from the web project's .aspx page, try having a look at this if you are having "white death screen" issues.

Resources