Security notification bar - wcf

I need to add a web reference in Visual Studio 2012 (because service reference generates a blank reference CS and I have given up after hours of googling).
When I go to add the web reference (add service reference → advanced → add web reference) and enter the WSDL URL I get the IE Notification Bar in the dialog with the message:
To help protect your security, your web browser has blocked this site from downloading files to your computer. The option to "Download file" does not work.
I've changed IE security settings to minimum and added the domain to the list of trusted sites but did not have any effect. I also uninstalled IE10 completely and still get the notification bar. I am using Windows 8.
Anyone shed any light on this or had any success adding a web reference in VS 2012?

If you can download the WSDL with your browser, download it and save it to a file. You can then reference it from Visual Studio by pointing it to that file. Or you can use svcutil.exe or wsdl.exe to generate a proxy from the commandline.

Related

TFS2015 Document library- open file instead of download

when i am trying to view files from my TFS document library it's download the file instead of opening it automatic with excel OR word that are already installed on my pc, does someone know how to fix it?
i am using office365 and TFS2015 as you can see at the screenshot that attached this is how it's look like in PC that working fine.
This kind of issue may related to your IE security setting, try to add the related sharepoint site in trust site and try again:
Close your browser (if you don't and you have your SharePoint site up you'll get a bunch of script errors because of the change to access
levels).
Go to your Control Panel
Open Internet Properties
Select the Security tab.
Select Trusted Sites
Click Sites, and add the URL for your SharePoint site.
More details please refer this similar issue: "Some files can harm your computer" dialog when I open a file from the document library
If the warning dialog is disappear, but when you open file still download. Then that behavior maybe defined by your browser. Try some other browser such as IE/Chrome/FireFox. Double check the integration/link of your browser and Word,Excel.

Cannot search in lists

When I use Harmon.ie in Outlook 2013, I am unable to find results that are in a list on our SharePoint site, even if I browse to list and search directly on somthing I can see exist in my list.
http://oi60.tinypic.com/2qwm1aw.jpg
How come Harmon.ie cannot find contents of lists on my SharePoint Online 2013 site?
Would you please download latest Harmon.ie version 4.5.2.xxxx) from Harmon.ie web site.
In the case, you still experience this issues, would you please run the same query (at the same scope) from SharePoint web Interface with IE.
If you get the expected result inside IE, please attach a screen shot and please gather the communication information between client (harmon.ie) and SharePoint server – we usually rely on Fiddler network tracing tool http://www.fiddler2.com/fiddler2/ Please download and install it. If your Sharepoint site uses HTTPS secure protocol – after installing Fiddler, please go under ‘Tools -> Fiddler Options’, select ‘HTTPS’ tab and enable the checkboxes (Capture HTTPS Traffic, Decrypt HTTPS Traffic, Ignore Server Certificate Errors).
If installed and configured successfully – restart Outlook, and reproduce the problem (run the query) . You should requests being registered in fiddler. Once the trace log is generated, save it via File -> Save All Sessions… and attach the generated .saz file
---- Jean

Can't change website url, VS2013 on win8.1

I'm trying to change IIS express and Website URL to point to a custom URL so i can try the website from my mobile. The point is, the changes I made (read below) don't change the website starting url.
I already changed the part at the IIS Express applicationhost.config file, from port:localhost to a port:custom name, tried to change the part at the .sln file where it points to the localhost.
I uploaded a screenshot from my project's property page, I can't find Use Custom Server option under Server or the Use Local IIS Web Server option.
First Right-click on your Web Site in Solution Explorer and select Convert to web application and then you can find the options you need under Properties -> Web

Added WCF Service Reference. But where is Reference.svcmap and Reference.cs?

I am accessing a WCF service from a client. The client is configured properly to access the proxy. However, I am expecting to find 2 files (reference.svcmap, reference.cs) under the SERVICE REFERENCES folder in Visual Studio 2012. Instead, I can only see a localhost (this refers to the namespace of the client proxy created).
From where do I see reference.svcmap and reference.cs?
You need to highlight the project (ClientIndigo) in the solution explorer, and then click on the Show All Files button in the toolbar at the top of Solution Explorer.
In Visual Studio 2010, this looked like this (haven't upgraded to VS2012 myself):
Those files are "nested" below the service reference, and not shown by default.

Visual Studio 2012 ClickOnce publishing default webpage

I am publishing applications to my website using the ClickOnce publishing tool within Visual Studio 2012, which publishes the webpage which checks for prerequisites and then downloads the application. However, this is formatted completely differently to my website.
Is there a way I can pass Visual Studio a template of some sort which it can use to create the webpages, as otherwise I have to go through and manually change all of the stylings for every application/update I publish. I know I can use an external CSS file to do this, but the webpages are created with inline styling, which was causing problems with the way it was laid out when I tried this last night.
I found this from http://msdn.microsoft.com/en-us/library/k5befhe3.aspx:
To customize the publish Web page
1.
Publish your ClickOnce application to a Web location. For more information, see How to: Publish a ClickOnce Application using the Publish Wizard.
2.
On the Web server, open the Publish.htm file in Visual Web Designer or another HTML editor.
3.
Customize the page as desired and save it.
4.
Optional. To prevent Visual Studio from overwriting your customized publish Web page, uncheck Automatically generate deployment web page after every publish in the Publish Options dialog box. For more information, see Publish Options Dialog Box.
Which means I would have to change each page manually. Does anyone know of a way to pass a template in for VS to use, or is each webpage created on the fly when I click publish?
Thanks
Optional. To prevent Visual Studio from overwriting your customized publish Web page,
uncheck Automatically generate deployment web page after every publish in the Publish
Options dialog box. For more information, see Publish Options Dialog Box.
This is what you want to do, I guess?