BlogEngine Paypal - asp.net

I'm trying to get BlogEngine working with ExpressCheckout. I've tested the API credntials with the same user controls as I'm using with BlogEngine and they work. In BlogEngine, however, I get "Sorry, an error occurred after you clicked the last link". I'm using the same .ascx user control and the same API settings and credentials.
In BlogEngine, if I use Firefox I can get to the PayPal login screen without problems, but with IE or Chrome (IE7 and IE8) on low privacy and security settings, I get the error.
I've tried sandbox and live credentials but I really don't know what else to try. I'm using the MarkExpressCheckout method on PayPal's NVP C# samples and have never had problems before. Could some part of BlogEngine be interfering somehow? I'm running ASP.NET 4.
If it helps, my site/checkout is at http://chickenping.com (http://chickenping.com/category.aspx to add prroducts to the cart).

This was caused by passing the country as United Kingdom rather than GB (which works)

Related

Ajax Controls are not working

I am working on asp.net. I have developed one website and it is working fine. But there is one client's PC where the website is not working properly.
The main problem is with some of the AJAX controls. The two controls which are not working are Accordion Pane and Model Popup.
I saw the developer option of the browser and its states the following error/warning while I am visiting that page.
**InterYield Click Bind version 1.0-SNAPSHOT.4,685 20131123-0125 clickbinder.do?ver=1.0-SNAPSHOT.4%2C685:1
Uncaught SyntaxError: Unexpected token ILLEGAL xdm.html:8
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. init2.js:1
InterYield click bind handler had no ad coverage. nocoverage.do?callback=InterYieldNS.NoCoverage&product=iy&title=&matchedKeyword=&affiliate=adpeak2&…:6
Resource interpreted as Script but transferred with MIME type text/html: "http://telemetry.scorpionsaver.com/te.aspx?callback=jQuery18308800485304091…22%3A%22about+to+call+server%22%2C%22sampleRate%22%3A10%7D&_=1386416017076".
jquery.min.js:2
Uncaught SyntaxError: Unexpected token <**
The website is deployed on .net 2 framework. The client is using windows 8 operating system.
I have checked three browsers on clients pc. IE, Chrome and Firfox. but the problem exists on all 3 browsers.
I work with a couple of different websites that have users with a similar issue, where nothing loads past a certain point. The only thing similar with all the users is the InterYield Click Bind in their Console logging.
I had them run a Malware scanner (Malwarebytes Anti-Malware works best), and after it cleans the system, they are able to access the sites.
Hope this helps!

How to resolve "The requested URL was rejected. Please consult with your administrator." error?

I have a ASP application. On click of a particular link, some VB scripts are executed and an ASP page is to be shown, but instead I get a screen that says:
Information Not Available.
The requested URL was rejected. Please consult with your administrator.
Your support ID is: XXXXXXXXXXXXXXXXXXXXXX"
The IIS and event viewer logs do not show any error message.
This happens only for some users, but works fine for other users.
What are the possible causes for this error ?
Your http is being blocked by a firewall from F5 Networks called Application Security Manager (ASM). It produces messages like:
Please consult with your administrator.
Your support ID is: xxxxxxxxxxxx
So your application is passing some data that for some reason ASM detects as a threat. Give the support id to you network engineer to learn the specific reason.
Encountered this issue in chrome. Resolved by cleaning up related cookies.
Note that you don't have to cleanup ALL your cookies.
I found the issue. This is a firewall message and an error was occurring in the VB script due to wrong data in database, but the error was not logged/caught properly.
It is not related with Firewall. I had the same issue accessing from office and from mobile.
I cleaned the cookies and worked fine. You can read more at https://support.google.com/chromebook/answer/1085581?hl=en
I was able to resolve my clearing my cookies and cache.
I have faced the same issue using Google Chrome browser. Same website was opening normally using the incognito mode and different browsers. At first, I cleared cached files and cookies over the past 24 hours, but this didn't help.
I realized that my first visit to the website was during the past 10 days. So, I cleared cached files and cookies over the past 4 weeks and that resolved the problem.
Note: I didn't clear my browsing history data

ADFS (CRM 2011) - Authentication Issue in Microsoft Outlook Client for CRM (Response.Redirect(...) & Window.Open(...))

Before I start, our customers have to connect through AFDS to be able to go on the CRM 2011. So we are talking about an “IFD”-environment.
I’m having a problem when using the “CRM 2011 Outlook Client” and the “Window.Open(…)”-JS function. When they hit a button in the CRM 2011 an ASPX-page fires up and does some stuff with an attachment in the e-mail. It then creates successfully a contact and then afterwards it should redirect to that “Contact”-page. But each time I do a redirect to a “CRM 2011”-page, the user is prompt for his credentials. That’s because the “Window.Open(…)” opens the screen in an new “Browser”-screen and the authentication is lost (because we come from the outlook client).
The above scenario works fine when using the “Web”-based CRM 2011, because you need first to login via ADFS.
Have some of you encountered the above problem and have a great solution to this?
Is there a way to do a “Window.Open(…)” and stay in an “Outlook”-screen? The same as you should double-click a contact in the “CRM 2011 Outlook Client”?
Is there a way while doing a “Redirect”, I can automatically give the credentials to the page, so that it will page will be opened without that the user himself need to enter his credentials? I’ve read something about SignInRequestMessage and FederatedAuthentication, but no clear examples were shown to do this.
I’m hoping that you guys can help me out. At my side, if I find any resolution, I will come back here!
Kind Regards,
Frederic
OK. This is from one of the MS presenters from the ExtremeCRM conference.
The CRM function call is: openObj(entityId, type).
I am a team leads and I had one of my team execute the implementation, but my understanding is that the call would be something like...
openObj('GuidGoesHere', 'account');
One thing to consider is that this will work in your standard client script scenario, however if you require this functionality from within a custom dialog / html resource you may need to add a reference to the appropriate JS reference depending on where in the baseline JS libraries that function resides.
I can dig deeper if you cannot get it working right away. Youd can use various browser dev tools to explore pages and see which JS resources are loaded on the page as well as debug.
Hope this helps!
This issue is related to a cache and performance problem with ADFS and a TMG server. The ability to cache must be turned on both the TMG and inside IIS. Once this issue, also deemed a performance issue went away, users then received the normal popups when performing actions like convert lead to opportunity, or email to case.
Also make sure you are on UR 6..
https://community.dynamics.com/product/crm/crmtechnical/b/cognettacloud/default.aspx

Chrome returns "Bad Request - Request Too Long" when navigating to local IIS Express

I have a web application that runs perfectly fine when I use the Visual Studio 2010 development server (Cassini). However when I try to use IIS Express to host the site Chrome just displays a "Bad Request - Request Too Long" error. The IIS Express site does display in other browsers (FireFox and IE9) so I'm kind of confused. The error occurs in Chrome when I try request pages in my application or even basic resources like an image, so I don't think it is an issue with URL rewriting or routing.
Just to see if the problem was somehow a result of my site's code, I created a new MVC3 website and tried running that. This worked in the VS development server, but once again produced the "Bad Request" error when running under IIS Express.
I am about to start testing the site using some mobile devices so I need to get this running under IIS. Any suggestions would be greatly appreciated.
EDIT:
The root url of the site (http://localhost:50650/) is being requested using GET. I am currently using Chrome v12.0.742.112.
I get this all the time ONLY in Chrome and I have to clear browsing data to fix it.
Wrench > Tools > Clear Browsing Data
Check the following:
Clear browsing history
Clear download history
Empty the cache
Delete cookies and other site data
Then click "Clear Browsing Data" button and refresh your page.
UPDATE:
I figured out that it has to do with writing too many cookies to the browser and that if you just close all instances of Chrome, the error goes away for a while. To prevent it, you'll need to clear out your cookies programmatically.
Instead of clearing all the cookies, just do the following:
Right click the lock in the address bar area (see picture below)
Under cookies there is a link saying how many cookies are used
Click that link
Remove all cookies in there (or just the troublesome if you can identify them)
Problem gone
This error is caused by a corrupt cookie for the website you are trying to view, so to clear it all you need to do is clear the bad cookie(s) for that website.
In Chrome, go to...
chrome://settings/cookies
(Or manually go to Settings->Advanced Settings->Privacy->Content->All Cookies and Site data)
From there, you can search for cookies that match the site you are having problems on. Finally, click "remove all" for the matching cookies.
The problem is usually that the site in question has accumulated too many cookies or created cookies which are too large, making the HTTP headers swell beyond the allowed maximum.
One-time work-around
As has been mentioned, you can go to Settings|Advanced|Content Settings|All Cookies and Site Data, search for the site in question, and delete the cookies using the X button on the right. This reduces the header size of the HTTP request when contacting the site.
Long-term work-around
In addition to removing them one-time, however, you can prevent further problems with heavy cookie sites by going to Settings|Advanced|Content Settings|Manage Exceptions, and add the base site url (e.g. "msdn.microsoft.*" without the quotes) and select Behavior as "Clear on Exit". You might have to login more often to these sites, but this should prevent the problem.
I encountered this problem when using ADB2C login from ASP.NET WebApp. In Firefox you can do similar use case to delete related coockies and problem is gone for a while. Click on HTTPS (i) lock icon with, select ">" button on the right, select More information, select Security tab, click on View Cookies and click on Remove All. Done 4 a while.
If Above methods didn't work then enter
chrome://settings/resetProfileSettings
and Click on Reset Settings
This will reset your startup page, new tab page, search engine, and pinned tabs. It will also disable all extensions and clear temporary data like cookies. Your bookmarks, history and saved passwords will not be cleared.

silverlight plugin is not working on server

i am using silverlight plugin 3.0 to display the chart.it is working fine on local pc but it is not working on server,it is not displaying any thing.
i have checked the MIME type also in iis.its over there.
please tell me whats the problem
thanking you
samir
Just to rule out the chart component itself, have you tried doing a simple "hello world" type application to see if it works?
This should test to see if it is the chart component/data source for it, or a general problem with your server/host and Silverlight.
It being a server, is IE in Extra Security Mode? It might not load up silverlight at all.
Do any silverlight things work? (I usually test with the gallery at silverlight.net).
I faced same problem. I used a perpetuum repoting tool. I had to create reporting services and these services are accessed by reporting viewer from client side. I forgot to change reporting services url. I put "localhost" and everything was blank(I saw blank page when access report).
so check if there is any issue like this...
or check this url about "URL Access Restrictions in Silverlight"
http://msdn.microsoft.com/en-us/library/cc189008(v=vs.95).aspx

Resources