Quantcast
Channel: All Forums
Viewing all 27852 articles
Browse latest View live

.net error caused by iis?

$
0
0

When I am debugging a C# 2010 web form application that is running against iis7 from my visual studio.net 2010 professional ide, I get messages like the following:
 
this Cannot obtain value of local or argument '<this>' as it is not available at this instruction pointer, possibly because it has been optimized away. Damport.DImportDataContext fileOrServerOrConnection Cannot obtain value of local or argument 'fileOrServerOrConnection' as it is not available at this instruction pointer, possibly because it has been optimized away. string mapping Cannot obtain value of local or argument 'mapping' as it is not available at this instruction pointer, possibly because it has been optimized away. System.Data.Linq.Mapping.MappingSource
 
This kind of error message occurs in different sections of the code.  Some sections I do not have this problem.
 
Basically when this kind of error message occurs, I can not see the value in different variables. Thus can you tell me what I can do so that I can see the value of the variables when this error occurs?

jvm heap allocation problem, running a web service under iis

$
0
0

 

Hi,

I have developed a C++ dll in which I use JNI to load java virtual machine with a specified size of memory. I use the option "Xmx1024m" to set maximum heap size of the java virtual machine and the method JNI_CreateJavaVM to create the virtual machine. When I run the application under Visual Studio, everything works fine and the virtual machine is created with the specified memory size. But when I use the dll in a asmx web service, which is deployed under IIS-6 the method returns -4 which means that there is not enough contiguous memory to create the virtual machine. If I change the option to "Xmx256m" it works fine, but I need the virtual machine to have a heap of size 1024m. I want to know how I can make it possible under IIS?

Regards,

Hamidreza Ghader

public the project to web (vista)

$
0
0

i am getting start to use visual studio 2008,but when i create a project, how can i public to web.

how to set iis? when i open the administrator tool, there is no iis that i can choose. (i am using window vista)

how to public to web?

Problem Using WordPress Engine Installed on IIS 7

$
0
0

I installed WordPress 3.4.1 on my Windows Server 2008 R2 in IIS 7.0.  When I view the site I created while logged on within the LAN, the site looks great.  I use either http://10.251.0.1 or http://new.goodnewsjail.org, both of which resolve to 10.251.0.1, the internal address of the web site.  But when I access the site from outside using http://new.goodnewsjail.org (which resolves to 74.94.213.108) it takes for ever, but then the home page comes up wihtout most of the graphics, colors, etc., and I cannot navigate to any other page.  What could be causing this?  Thanks for the help.

need help with asp.net hello world example...

$
0
0

I am following this tutorial at http://msdn.microsoft.com/en-us/library/ms972337.aspx  and basically

1.  i had to create an .asp file named Example1.asp in notepad cut and paste example code(listed below) into the document and save it(as ALL Files instead of .txt).Then close the text editor.

example code:

<%@ Language=VBScript %>
<html>
<head>
<title>Example 1</title>
</head>
<body>
<%
FirstVar = "Hello world!"
%>
<%=FirstVar%>
</body>
</html>

2. create a subdirectory in the inetpub/wwwroot/ path named tutorial

3. place the Example1.asp file in the new subdirectory( inetpub/wwwroot/tutorial/Example1.asp).

4. then type http://localhost/tutorial/Example1.asp in my browser and see the website... but instead i got an

Error page ........HTTP Error 404. The requested resource is not found.

what am i doing wrong????

 

Logon failure on IIS Smooth Streaming Management REST Services

$
0
0

 Hi all,

I'm having problem with using REST services for managing publishing points. My publish points are all working and streaming works fine, but when I try to simply get list of my publishing points with REST API and I get this response

 <?xml version="1.0" encoding="UTF-8"?>
<SmoothStreaming xmlns="http://schemas.microsoft.com/iis/media/2011/03/streaming/management">
    <Error>
        <ErrorCode>0x8007052E</ErrorCode>
        <ErrorMessage>Logon failure: unknown user name or bad password.
        </ErrorMessage>
    </Error>
</SmoothStreaming>

this is the response when I try GET request on this url: http://localhost/services/smoothstreaming/publishingpoints.isml and when I provide login and password (basic authentcation enabled) for user that have asses to isml files.

What do I need to do to get this working?


Does Smooth Streaming Format SDK support HE-AAC?

$
0
0
Hi, In SDK API, it says only support AAC-LC. But I don't know whether it supports the extension of High-Efficiency v1 or v2? If yes, where can I set PNS and SBR configurations?

Microsoft.Jet.OLEDB.4.0 on 64 bit windows server 2008 r2

$
0
0

Hi,
    I have a web site with lots of aspx pages and I am using IIS 7 server.we just migrated the servers from old windows 2003  32 bit OS to new windows 2008 64 bit OS.I deployed this aspx files in IIS 7 on new server its working fine.when i come to the data i mean connection string .

We have a sniffer file which sits on one machine (desktop) daily my team member is used to run this sniffer file it checks fo rthe files and data and loads into a specific folder

So for that he just maps this sniffer file from his local desktop to the server either new or old
where i created my web site eg:v:\webs\Cons\test.aspx
so in that cons project i have a folder called database with ADF.mdb file

and my sniffer file connection string is
cnnDB = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=v:\database\ADF.mdb;") which he maps from his local desktop to old server 32 bit OS

Now i am using new server how can i use this provider on my new server  64 bit will it work if i keep as it is and just map this sniffer file to my new project location.

 

Note: We are decomminishing the old server windows 2003 32 bit OS soon.

Any help that could be appreciated!!


IIS, Javascript, Signed Applet and ASP Blank Page Problem

$
0
0

Hi,

I'm having a problem using a Signed Applet in a site that runs in a IIS (Windows Server 2003).

My aspx web page uses the applet to read my smart card and get information from it.
This applet uses an auxiliar dll (stored in a second Signed Jar file) in order to read the information from my smart card.

The way the solution is design:
1) Aspx page is asked from server
2) Internet Explorer recieve the page and asks the server for it content (images, applet, javascripts, etc)
3) After this the JVM runs (console opens)
4) After the Aspx page render fully a javascript register onload fires and call an applet method 5) Applet receive the call and run the logic of the method: - reads the smart card; - calls Javascript function in order to fill aspx fields with information from smart card - calls Javascript function the simulates a click in a botton of aspx page (in order to call server side part sending data readed from smart card to server)
5) The server makes some logic with the information receive and responds to client registering in aspx page a call to another Javascrit function
6) The client received the asnwer from server and runs the Javascript function registered on step
7) This Javascript calls another method from applet and runs the following logic: - reads more information from smart card; - call javascript function in order to fill more fields of aspx page with the information readed - calls Javascript function the simulates a click in a botton of aspx page (in order to call server side part sending data readed from smart card to server)
8) The server makes some logic and call another pages with no Applets
9) Client asks for a second page with the same applet and we start with another logic express on steps 1);2);3),4);5) and then 7).

This is all ok, until sometimes the server stop responding correcly for requests regarding this two pages with the Applet.
When this happens the server just responds with a blank page. - with fiddler I can seer the request for the aspx page (that uses the applet) - but server responds with a blank html page
The JVM doesn't fire. The IIS log don't show errors.
The eventviewer doesn't show errors.
The problem is solved with an IIS reset or a Application Pool reset.
After a while the problem returns.
This problem occours for other user in another machine, the server just stops responding correcly to request regarding pages with applets, the other pages still continue to work.

If we disable Java Control Panel->Advanced->Java Plug-in->Enable the next-generation Java Plug-in the problem seend to stop, but we can't force all clients to disable this option right?
Or there is a way to force the Applet to run with this option disabled? As anyone experience similar problem?

Regards,
OF

Moving functions from Default.cshtml to App_Code\Functions.cshtml

$
0
0
Hello,
this code is working fine
@{
    var db = Database.Open("bakery");
    var products = db.Query("SELECT * FROM PRODUCTS").ToList();
}

@foreach (var p in products) {
        @p.Name<br>
}

I just would like anyway to move the creation of products together with the db opening into an helper file or function file.

From my Default.cshtml I just want to cycle on my variables, while I would like to keep the creation of the lists in a separate file (App_Code folder) which has all the functions and where the database connection is handled.

How do I do it? Suggestions?
Thank you

Seriously bad bug in WFF

$
0
0

About eight weeks ago I created a farm, "Farm A" and assigned one primary server and five secondary servers.  Later I deleted all of the secondary servers, and added one new one.

I did this on two boxes, in two separate data centers.

About three weeks ago, when this "Farm A" was enabled, the farm was deploying to the boxes it has officially listed as secondaries, but it was also deploying to one fo the secondaries that had been deleted weeks previously.  This caused files to be deployed that we did not want to be deployed.

Then, it happened again in the other datacenter, where again, the "Farm A" was enabled and it not only replicated to the secondary servers it was supposed to, but also to one of the secondry servers that had been deleted weeks prior.  This caused another significant problem when the wrong files were deployed to our live production boxes (again.)

When I looked at the server list these deleted servers were not there, but when I looked at hte messages in the verbose log, it showed them still active.  

Rebooting the server seems to cure the problem, but this seems like such a huge bug.  Has anyone else had this problem?

Thanks 

 Daniel

Performance Problem

$
0
0

 Hi,

I just made a fresh installation of WebMatrix 2.0 RC. I haven't been using WebMatrix before so I can not compare it to anythig else. I noticed that perfornamce in IDE is extremely slow. It takes several seconds to refresh between Site and Files and while writing code, text appears after a few seconds after typing.

I am using it in Win 7 x64 in Dell Laptop with Intel i5 and 8GB RAM, so it should not be from my computer. Usually CPU is max 30% use. Is this feature of have I missed something important?

 

Cheers,

Marko

Drupal7: How do you get the uploadprogress.dll to work?

$
0
0

Hi,

I have Drupal 7 up and running, download the lastest uploadpgress.dll from http://downloads.php.net/pierre/, but so far can't get Drupal to recognize it.  I keep getting:

Upload progressNot enabled

Your server is not capable of displaying file upload progress. File upload progress requires an Apache server running PHP with mod_php.

Any ideas other than it only works with Apache?

Thanks!...

IIS Transform Manager - Preview.png

$
0
0
I note the IIS Transform Manager creates a "Preview.png" when it encodes a video - however this seems to be a static image. Is there any supported way of generating a video thumbnail / screenshot?

OCSP application ppols could not be restarted on some of the Array members

$
0
0
Hi there, I implemented an Online Responder array, and everything is working fine, except for the following warning, whenever I'd like to manually refresh the revocation data: "The OCSP application ppols could not be restarted on some of the Array members. To refresh revocation configuration data, restart Internet Information Services (IIS) or the OCSP application pools on these members." But - this only happens if I use the OCSP.msc on a client, NOT on the array members. Strange :) Stopping the AppPool is not really elegant , as I get the error "The service cannot accept control messages at this time. (Exception from HRESULT: 0x80070425)" after I stop the apppool and want to restart it immediately. I have to wait for a minute for it to work (that's ok for me), but this is quite a clumsy solution. But I never had the warning and now I got it in two different (though almost identical) environments (2008 R2, single revoc config in one, several in the other). The eventlogs do not indicate anything useful. Maybe someone else has an idea. Thanks, Kind regards, MMF

All clients have to stop playing,Why when it play a certain time

$
0
0
I have tested 80 of the pc, sometimes play one hour and sometimes play 30 minutes of screen stop on a time period, you must refresh and then re-live.I hope to get your help! Thank you

ISAPI Filters w/ IIS, ColdFusion 9 and Tomcat

$
0
0
We currently have a CF9/IIS7.5 setup. We are trying to introduce a JSP application and needed to install Tomcat to run it (It's on port 8080). We need both CF and the JSP app to work on the same HTTPS (443) site. I tried adding a ISAPI Redirect in IIS but that just makes the entire site run with Tomcat. Anything else you can do for both to work in parallel?

ISAPI loads wrong DLL

$
0
0

Hi,

I have an odd problem. IIS loads legacy ISAPI extention and IIS module, both use DLL with same name, however these DLLs are diffrent (linked against different versions of thirdparties). So far there should be no problem, each component (extention and module) reside in their own olders, each one with its own version of DLL, but when IIS starts the worker process and extention and module got loaded somehow the extention tries to load the DLL from the module's folder. I've inspected the module's code and found use of SetDllDirectory which affects the whole process. Voila, this is the problem, I said. after getting rid of this call (replaced with LoadLibraryEx with DLL search flags which suites my needs) the problem persisted. Finaly I found myself with giving unique names to both of these DLLs, which obviously (or not) solves the problem. However it is not clean and elegant solution. Is anyone has any idea why IIS exhibits such a strange behaviour?

Running Win2008, IIS7.5, ISAPI extention - native, C++, VC2010, IIS Module - native, C++, VC2010, above problematic DLL - C++/CLI, linked with .NET3.5 third party assemblies.

Thanks in advance

ARR with sharepoint

$
0
0
Hi, Currently I'm trying to configure IIS to reverse proxy to Sharepoint Web Server.
I had setup ARR ro redirect all request from reverse proxy to Sharepoint.
Stated below are example of the rules.
Within the application there are code that called Reponse.Redirect which need to be redirected to external URL.
These code are being forward to the reverse proxy server rather then the external URL.
I tried to disable "reverse rewrite host in response header" but Sharepoint Web Server it routing request to the App Server.
Response are not handled by the reverse proxy after I disable "reverse rewrite host in response header".

rule name="ReverseProxyInboundRule1"
action type="Rewrite" url="{C:1}://SharePointServer/{R:1}"
Thanks.

Installed Application Initialization, preloadEnabled appearing on applicationDefaults element?

$
0
0
Hi there Just installed Application Initialization from here: http://www.iis.net/download/ApplicationInitialization and when I create my website in Powershell I can see that the preloadEnabled attribute is part of the Site/applicationDefaults element in ApplicationHost.config Is this correct? I've been trying to get it to work with an MVC 3 app and it will not show the splash page, has anyone used this yet with MVC 3? If so how did you create your splash page?
Viewing all 27852 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>