Does MVC application that support membership require SQL Server installation when deploy on hosting server?

Hi all,
This is my scenario:
I created a new MVC project using VS 2012, and this project supports membership registration through SqlProvider which store membership information into a built-in database that created by VS2012. The connection string that VS2012 set is to point to the
file name (.mdf) directly within the project's App_Data folder. The project runs without problem on my local under the VS 2012 environment with Sql Server 2008 installed (however the database file can't open with SQL 2008 because it is created to work with
SQL 2012 through VS 2012). My questions are:
1. If I don't have Sql 2008 or Sql 2012 installed, will the project still work under VS 2012 environment?
2. If I deploy the project to a new hosting server without Sql 2012 install, will the project still work under IIS environment?
3. If I don't want to use Sql 2012 database, can I tell VS 2012 to create Sql 2008 database instead?
Thanks,
Sam

Hello Sam,
1. Only "particular", as soon as function tries to access the SQL Server database (file), the web site will fail
2. See 1.
3. Install an additional SQL Server 2008 instance and use that one
Olaf Helper
[ Blog] [ Xing] [ MVP]

Similar Messages

  • Application does not load correctly when deploying to standalone server

    All,
    I have created simple application implementing fusion theme. Applicaiton works fine when I run on integrated server but when deployed on standalone server it does not load any images or the theme itself. afrloop keep incrementing in status bar and ends up with java script error while later.
    I deployed another test application on standalone server and that works fine i.e. theme gets loaded correctly. Also, how should I include images on the page? I have a images folder in web content folder but they dont get loaded.
    Any help will be appreciated.
    Thanks,
    Dipal

    LabVIEW now uses the Microsoft installer. It's possible that you need to upgrade the version that's on the Win2K box. I think the latest service packs from Microsoft include it.

  • Best practise for creating an application that connects to a SQL Server database

    I have created an application that connects to a SQL Server database and views information using a datagrid and performs several updates when a button
    is selected.  
    I have created a SQLcontrol.vb using the following code:
    Imports System.Data.Sql
    Imports System.Data.SqlClient
    Public Class SQlControl
    'connection 1
        Public SQLCon As New SqlConnection With {.ConnectionString
    = "Data Source=;Initial Catalog=;Integrated Security=True"}
    'connection 2
        Public SQLCon1 As New SqlConnection With {.ConnectionString
    = "Data Source;Initial Catalog=;Integrated Security=True"}
        Public sqlcmd As SqlCommand
        Public sqlda As SqlDataAdapter
        Public sqldataset As DataSet
        Public Function hasconnection() As Boolean
            Try
                SQLCon.open()
                SQLCon.close()
                Return True
            Catch ex As Exception
                MsgBox(ex.Message)
                Return False
            End Try
        End Function
        Public Sub runquery(query As String)
            Try
                SQLCon.Open()
                sqlcmd = New SqlCommand(query,
    SQLCon)
                'LOAD
    SQL RECORDS FOR DATAGROD
                sqlda = New SqlDataAdapter(sqlcmd)
                sqldataset = New DataSet
                sqlda.Fill(sqldataset)
    BH READ DIRECTLY FROM THE DATABASE
                'Dim
    R As SqlDataReader = sqlcmd.ExecuteReader
                'While
    R.Read
                'MsgBox(R.GetName(0)
    & ": " & R(0))
                'End
    While
                SQLCon.Close()
            Catch ex As Exception
                MsgBox(ex.Message)
                'will
    close connection if still open
                If SQLCon.State
    = ConnectionState.Open Then
                    SQLCon.Close()
                End If
            End Try
        End Sub
        Public Sub runquery1(query As String)
            Try
                SQLCon1.Open()
                sqlcmd = New SqlCommand(query,
    SQLCon1)
                'LOAD
    SQL RECORDS FOR DATAGROD
                sqlda = New SqlDataAdapter(sqlcmd)
                sqldataset = New DataSet
                sqlda.Fill(sqldataset)
    BH READ DIRECTLY FROM THE DATABASE
                'Dim
    R As SqlDataReader = sqlcmd.ExecuteReader
                'While
    R.Read
                'MsgBox(R.GetName(0)
    & ": " & R(0))
                'End
    While
                SQLCon1.Close()
            Catch ex As Exception
                MsgBox(ex.Message)
                'will
    close connection if still open
                If SQLCon1.State
    = ConnectionState.Open Then
                    SQLCon1.Close()
                End If
            End Try
        End Sub
    End Class
    A code for one of my button which views displays data grid contains the following code:
    Private Sub Button1_Click_1(sender As Object,
    e As EventArgs) Handles Button1.Click
            If SQL.hasconnection
    = True Then
                SQL.runquery("select 
    * from tablea")
                If SQL.sqldataset.Tables.Count
    > 0 Then
                    DGVData.DataSource = SQL.sqldataset.Tables(0)
                End If
            End If
        End Sub
    I am fairly new to vb.net and have read a few books and followed a few tutorials on youtube, what I would like to know is, are there any disadvantages
    to the way I have connected to a SQL database using the SQLControl.vb.  A lot of the vb books include data adapter and dataset within the form, I'm not sure if I'm following best practice by have the connection details outside of the form.
    My other question is, I have created two connections in the SQLControl and call these connections within the same form using the same data adapter
    and dataset.  It all works fine but I just wanted to know of any potential issues?
    Public SQLCon As New SqlConnection With {.ConnectionString
    = "Data Source=;Initial Catalog=;Integrated Security=True"}
    'connection 2
        Public SQLCon1 As New SqlConnection With {.ConnectionString
    = "Data Source;Initial Catalog=;Integrated Security=True"}
    Thanks

    My other question is, I have created two connections in the SQLControl and call these connections within the same form using the same data adapter and dataset.  It all works fine but
    I just wanted to know of any potential issues
    1) You are not using Sepration of concerns for a solution that is doing data access, like using a DAL.
    http://en.wikipedia.org/wiki/Separation_of_concerns
    2) You are directly issuing SQL commands at the UI, leading to sql injection attacks.
    3) You are not using a UI design pattern, which leads you to tightly couple database activity to the UI.
    http://www.codeproject.com/Articles/228214/Understanding-Basics-of-UI-Design-Pattern-MVC-MVP
    @System243trd, parameters are important to prevent SQL injection attacks (people will insert SQL commands into the database if you do not perform basic checking of what you are passing to the database). If you write a stored procedure try to make
    the variables the correct SQL server data type to avoid problems later of people trying to call it directly.  Darnold924 is right, I see no code to prevent against SQL injection attacks. In addition, during development in some instances LocalSQLDB
    database system is used and during deployment you usually need to use the production SQL server database. Moreover,  Linq-to-SQL is used on Windows Phone 8.1 and it is required for phone development later and so I highly recommend learning
    it if you plan on developing windows phone applications.
    @System243trd, If you want the code for the windows phone app I think it uses the MVVM model or that might be for universal apps or regular windows phone apps. I have been using the windows phone Silverlight pivot or panorama template (it might
    be pieces of both). I've already submitted to the windows phone marketplace and it had to go through certification first. I plan on later making an article on it but I need to first fix one or two simple problems I have with it.  Here's a link to
    the source code if you later want to look at the source code (in vb.net): 
    https://jeffsblogcodesamples.codeplex.com/downloads/get/1445836
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - Sherlock Holmes. speak softly and carry a big stick - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog
    - http://www.computerprofessions.us

  • Is there a list of applications that support 'versions' in Lion?

    Has anyone found or compiled a list of applications that support versions in Lion? It'd be helpful to know before purchasing new software and having to wait for replies from each software developer. I've seen the roaring apps list, but it doesn't get detailed enough.

    I'm a developer for an app sold on the Mac App store, so I can assure you that supporting Versions is not that big of a deal. The biggest problem for me was making my app play nice inside the Browse Versions interface.
    The real issue is testing the app under Lion AND back on Snow Leopard to make sure you dont break something on Snow Leopard. There is also an app upgrade review and approval cycle done by Apple for products sold on the App Store. My gut feel is that the review staff is being flooded right now with application updates for Lion by virtually all of the products on the App store.
    I do remember that Snow Leopard broke things too when it went live. (But then Apple has done at least 8 updates to Snow Leopard after it was released.)
    By the way, the old way of saving works just fine for apps that dont yet support Versions.
    Versions does take a bit to get used to. It is a paradigm shift from the way apps are saved over the last several
    decades.
    Apps that require custome hardware and custom device drivers will most likely be the last to convert to Lion. Years ago I was a ProTools user and they took over 6 months after Tiger was released to release a compatible upgrade (and they charged a lot of money for it too).
    The vast majority of apps dont fall into that category. They just have to do a ton of testing, which takes time.

  • I'm trying to download the trial version of Adobe Illustrator. An error message says that the OS does not meet the minimum system requirements for the installer. 10.6.0 is the minimum required for installation. How do I get my mac to be a 10.6.0 ?

    I'm trying to download the trial version of Adobe Illustrator. An error message says that the OS does not meet the minimum system requirements for the installer. 10.6.0 is the minimum required for installation. How do I get my mac to be a 10.6.0 ? Right now I have a 10.5.8 is there a way to upgrade or something?

    Buy the Snow Leopard retail installer (http://store.apple.com/us/product/MC573Z/A?fnode=MTY1NDAzOA).
    That will take you to 10.6.3.
    If required you can then use the combo updater to get to the latest version, 10.6.8 (http://support.apple.com/kb/DL1399)
    SL system reqmts;

  • Does an app that supports printing thereby automatically support "AirPrint"?

    Sorry if this is in the wrong place, I couldn't find a better spot...
    1 - Does an app that supports printing by definition support Apple AirPrint?
    2 - Is there any way to search the app store by apps that support AirPrint? (make that a search parameter)?
    Thanks so much in advance for your help. Sorry again if this is in the wrong spot.

    "You say that no apps support airprint, but Apple says that an app can be airprint enabled."
    No.  A PRINTER can be airprint enabled.  You DO NOT need an app tp be airprint enabed as the iphone already has airprint.
    But you are wrong. From Apple's site "AirPrint-enabled applications can print to a printer that supports AirPrint"
    If you still don't see it: "AirPrint-enabled applications"
    See it there? Applications can be airprint enabled. Please stop posting erroneous information here, as you are only confusing the situation.
    Source: http://support.apple.com/kb/ht4356
    EDIT: Let me give an example:
    I am in a news app, when I am in an article, there is a "Print" button. Does this mean that it supports AirPrint?
    (I'm not talking about alternative print solution apps, I'm talking about the average app that might allow you to print content.)

  • In my 3G iphone why animated picture will not play any free application that support animated?

    In my 3G iphone why animated picture will not play any free application that support animated?

    If the animation is based on Flash. it will not work. iPhones have never had Flash capability, as Adobe has never provided it. Search the forums for "Flash" to see at least 5000 explanations.

  • Integrate an Application That Supports Native AD Authentication

    I am currently evaluating a 3rd party web application that supports SSO via native AD Authentication. Is it possible to integrate this application with Azure Active Directory in the same way that this would be done with On-Prem AD? It has typical options
    for a domain controller hostname and port, a Base DN, a service account to bind to AD and a domain name. If this is possible, what values can I use for server address and port? Thanks!

    Hi,
    Azure Active Directory (Azure AD) simplifies authentication for developers by providing identity as a service, with support for industry-standard protocols such as OAuth 2.0 and OpenID Connect, as well as open source libraries for different platforms to
    help you start coding quickly.
    Please refer to this article to learn about the common authentication scenarios that are supported by Azure AD and how you can use them in your applications.
    https://msdn.microsoft.com/en-us/library/azure/dn499820.aspx
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • OS does not meet the minimum system requirements for this installer. 10.6.0 is the minimum required

    How do I get my software? This is the message I am hitting before my download will complete:
    OS does not meet the minimum system requirements for this installer.
    10.6.0 is the minimum required for installation.

    Hi,
    May I know what are you trying to download ?
    What is the MAC OS version you are using ?
    It seems you are trying to download an application which needs atleast 10.6 MAC version
    I think you are using lower version of MAC, let us know the version of your MAC , in order to help better .
    To check the version  : click on Apple Button on top left
    select about this MAC, you will get to know the version over there.
    If its something 10.5.x , then you need to upgrade your MAC in order to install that application which needs 10.6 MAC
    Thanks,
    Baljeet

  • App Insights for web application not working when deployed to Dev server

    App Insights is not sending telemetry data for ASP.NET MVC web *requests* (page views from the JS instrumentation are fine) when the app is deployed to the Dev or Test IIS servers.  On local IIS express it works perfectly fine.    I have
    no idea how to troubleshoot this problem.
    Bert Jackson

    - the AI.config file is both in the root of the site, and the /bin folder (which was confusing the other day).  Both are correct.
    - it looks like a local browser can go to https://dc.services.visualstudio.com (it results in a 403 since its just a GET to the root).  During this test, I found that this server did NOT have the Root trust certificate (Baltimore cybertrust), which
    would cause problems when using IE locally to browse the app; the javascript AI logging was not working, because it couldnt fetch the ai.0.js file).  I got the proper root certificate installed on the server, but request logging still not working.  I
    dont believe the firewall is a problem.
    - I've verified that all binaries are indeed deployed in to the bin folder on the server
    - web.config does have the AI http module; I've verified via logging that the ApplicationInsightsWebTracking is loaded.  However, I have custom Context/Telemetry initializers, and their Initialize() methods are *NOT* being called when deployed on the
    server.  I've tried both ways of registering the initializers; via code in the Application_Start() event and also in the ApplicationInsights.config file.
    I don't know how to troubleshoot any further, to figure out if AppInsights is actually *trying* to send telemetry out and failing, or if its not actually even trying.
    Bert Jackson

  • Error 500--Internal Server Error  - when deploying strust application

    Hello everyone,
    We have a large strust-based web application. The application is being deployed as an EAR file.
    We are getting a NullPointerException when we deploy the application on Weblogic 8.1 in production mode. The exception
    occurs when we access the application for the first time after redeployment.
    When we restart the server entirely we do not get the exception anymore.
    This exception does occur only rarely in development mode.
    In production mode it occurrs every time.
    Has anyone experienced similar issues?
    Regards,
    Oliver Enseling
    Error 500--Internal Server Error
    java.lang.NullPointerException
         at org.apache.struts.action.RequestProcessor.getServletContext(RequestProcessor.java:1136)
         at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:180)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:309)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.gelco.tmg.planning.web.core.action.URLSecurityFilter.doFilter(URLSecurityFilter.java:69)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6458)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    <[email protected]> wrote in message news:41c49d78$1@mail...
    The problem seems to occur due to servlet reloading.... There seems to be
    a bug that reloads the ActionServlet even without any changes made to the
    code base... The reload fails for the ActionServlet making it null
    Turn off servlet reloading in your weblogic.xml using
    <container-descriptor>
    <servlet-reload-check-secs>-1</servlet-reload-check-secs>
    </container-descriptor>
    Let me know if this helps ...The default is to check for every one sec... I am not sure whether these
    kind of defaults make sense once a application is moved into production
    mode...
    If the issue gets resolved with the above suggested workaround .... let me
    know... since the issue is spurious and I am trying to reach a higher
    confidence level in the solution proposed by me.....
    Thanks
    Kumaraguruparan Karuppasamy
    >
    >
    >
    "Bill Turchin" <[email protected]> wrote in message
    news:25319409.1102534305264.JavaMail.root@jserv5...
    I am now also seeing that error having recently upgraded to WL 8.1. Has
    anyone found the solution?

  • Which is Adobe product to be used for developing iPAD(IOS) applications that support PDF edit on the

    Question:
    We would like to know if LiveCycle ES 8.0 supports development of applications for IOS devices like iPAD,...
    Our requirement is to build applications that opens PDF on an iPAD, let the user edit and save the PDF.
    If not, which other Adobe product does?
    Thanks,
    Murali

    If you want to add text as comments, then a form created in Acrobat (Acroform) will work in Adobe Reader for iOS. It does not support forms created in LiveCycle Designer (XFA). There are also other PDF viewers that support Acroforms and commenting. So you don't need to create an application, just documents (PDF forms) that can be opened in an existing application (PDF viewer) that supports forms and commenting.
    If you want to edit/add text that is part of the regular page contents of an existing PDF, I'm not aware of anything on iOS that does that and I don't think Adobe has anything that will help you develop an app that will.

  • Writing a Java application that supports plugins

    I've done a bit of googling, but I haven't been able to find any information on how to make an application (from scratch) that supports plugins to be developed by other users that don't have access to the source code of the main application. A good example is Pidgin. It lets the client apply plugins to it to do various tasks. I'd like to add this kind of plugin capability to an application I am developing, however don't know how to. Does anyone know of any resources that could help me with this?

    Another good mechanism is OSGI. The most popular Application build with OSGI is eclipse. For eclipse exists a lot of plugins to extends eclipse. With OSGI you can define interfaces, which have to use by other developers.
    [Little OSGI Tutorial|http://www.vogella.de/articles/OSGi/article.html]
    Regards
    Sascha
    Link added

  • Error Deploying Web application that Connects to MS SQL Server

    Hello I have Created a data Source that connects to a SQL Server Database and its conecting but whenever i try running the web server that contains a web page that accesses a Datasource (Microsoft) I get this error
    Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.microsoft.sqlserver.jdbc.SQLServerDriver
    06/04/26 12:26:37 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.microsoft.sqlserver.jdbc.SQLServerDriver
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
    Even though I chose the option to Upload the library with the deployment, Do i have to manually load the SQL Server Libraries

    with com.microsoft.sqlserver.jdbc.SQLServerDataSource it does'nt get created.. with com.microsoft.sqlserver.jdbc.SQLServerDriver it does get created

  • Firefox does not display my customised Adobe Air browser based skin when viewed from a server

    Hi,
    I have edited the skin for my Adobe Air Browser based help. It appears fine in Explorer and Chrome, but Firefox displays the default black Air skin when viewed from a server.
    However, it appears OK when viewed locally on my machine in Firefox?
    Does anyone know why this is or if there is a way to make my customised skin display when viewed from a server using the Firefox browser?
    Cheers

    Peter,
    I think this was it:
    http://forums.adobe.com/message/2846292#2846292
    although my problem is just with Firefox - my amended skin displays fine in Internet Explorer.
    Firefox just applies the default Midnight Black skin.
    Cheers

Maybe you are looking for

  • Remote desktop into network won't work

    First time VPN newbie. I need to set up vpn for a friends small  business using RV082 so, as a test, I set it up here at my home using a  very basic config. The network topology looks like: cloud => cable modem => RV082 => DIR655 => win7 PC At  a rem

  • IDVD5 w DVD+R Problem

    I have a PowerBook G$ with iLife 05 with Super Drive. iLife says that with iDVD 5, DVD+R may be used for burning. But does not burn. Once inserted, makes a few sounds and ejects.

  • Selecting with PL/SQL

    Hi everyone, I have a table with the following info ClientName | PromoCode | ... with few more additional columns John........... AAA Brian...........AAC Chung......... AAA Mery........... AAA Kyle ...........AAC Peter...........AAB and so on. Now I

  • Using array as a dataprovider for combobox

    Hi folks, I would apreciate some help. I have a multi dimentional array as per _dbNames[0]=["Initialize User","","",""]; How can assign an array like this as a dataprovider to a combobox using actionscript 3? Thanks for for the help!!

  • PC voice recorder recording into Mac iTunes

    I have an Olympus voice recorder that said it would work on my Mac but it doesn't.  So I use it on a pc.  But my iTunes is on my Mac and I'd really like to get a recording off of the recorder and into iTunes.  I tried mailing the recording from a pc,