I need to host a website with a SQL database - Azure pricing details are too confusing

Hello,
I need to give a potential client a hosting price for a somewhat simple web application they want me to build. I told them it shouldn't be a problem. After gathering the requirements, I figured I would use the following technology to build and host
it:
ASP.NET 4.5
MVC 5
1 SQL Database ~ 25GB with options to expand and also with a backup
SSL certificate needed
Hosting would be on Azure because I have some experience using Visual Studio 2012 and integrating the Visual Studio Online (TFS) source code and scrum web applications. I've never actually spun up a website with a SQL database using Azure before, but I
imagined it wasn't too difficult to find a general hosting plan to support the above requirements.
The use of the website will be very simple and limited to the basic CRUD operations. Will support forms authentication using the Identity 2.0 framework. The web applications main purpose is to fill out a form for new accounts, have a search page for
those accounts, a page to view a created account and add notes to it. So performance wise, it isn't asking for much. I just want it to be fast and secure.
So I start looking on the Azure's pricing landing page which is here: (can't put links in here, but search Azure pricing on Bing) and I see this Pricing Calculator, so I click it
First thing I notice is the Websites tab doesn't mention SQL Database - in fact the Data Management is a separate tab from Websites. And if I made my selections on the Websites tab, the estimated monthly price doesn't stay the same when I go to the Data
Management tab - so I get the illusion I have to have two separate purchases.
I'm not exactly sure if the Pay as You Go billing feature would be okay because it's just a bit scary to leave every monthly payment up to chance; somewhat. Would love to know if there is other payment options that I could see for what I described above.
I want to use Azure to host my asp.net website - it makes sense and the integration with Visual Studio is amazing. I love the publish feature for both MVC 5 Projects and SQL Database Projects.
Thanks in advance for the help!

Hello jdevanderson,
I suggest that you start by looking at the pricing TIERS for the Azure website. This link will give you clarity on different Service TIERS that are availaible:
http://azure.microsoft.com/en-in/pricing/details/websites/
You can guage your requirement and choose the Service TIER accordingly.
And regarding the database, you are right about it. You will be charged seperately for the database. You can refer to this link that will give you clarity on SQL database pricing:
http://azure.microsoft.com/en-in/pricing/details/sql-database/
Refer to this link for more information on 'How pricing works':
http://azure.microsoft.com/en-in/pricing/
Use the full calculator to add your website and the database to get an estimated cost:
http://azure.microsoft.com/en-in/pricing/calculator/?scenario=full
Thanks,
Syed Irfan Hussain

Similar Messages

  • When you host a website with business catalyst do you get a domain name with it or do you have to buy one separately?

    When you host a website with business catalyst do you get your own domain name with it or do you have to buy one separately?

    Hi there,
    You need to get a domain yourself.

  • How do I host a website with server?

    How do I host a website with server?

    Set up public DNS with a DNS provider pointing to your public static IP address, set up private DNS on your local network (OS X Server requires this) using Server.app DNS services, set up port-forwarding for TCP port 80 and TCP port 443 at your firewall-gateway from your public static IP address through NAT to your private static IP address, establish one or more virtual hosts (web sites) within the web setup of Server.app, and populate the web directories with the contents you wish to serve.  Those contents will be the text data and/or images or other data you wish to serve, and may be a web content management system that can store and retrieve the web content and manage the links among pages, the theming and the rest of the baggage.
    It's often easier and cheaper for a small-scale entity or a low-traffic web site to be hosted by any of various web-hosting providers.  They provider deals with keeping the content management system and the servers current, having enough server and network bandwidth to serve the contents to the Internet, and you can concentrate on the web site contents.

  • Need Help Configuring Membership Website with External Approval Process

    I am working on configuring a membership website for a group of scientist.  Here are the interesting requirements.  Any brainstorming would be helpful.
    1 - A prospective member applies online. Within the application the prospective member has to include a reference for previous work proving his qualifications and naming a reference to confirm the qualifications.  The prospective member has to include the reference's name and email address.   (Site visitor creats a new user-submitted webapp item, easy enough.)
    2 - The application needs to kick off a workflow to an external site visitor (someone who doesn't have a site login).  This reference needs to confirm of reject the prospective member's qualifications.
    3 - If the external site visitor approves the reference, then the membership director needs to be emailed of the approval.  This approval should then kickoff another approval process to ask the membership director for his approval.
    4 - If the external site visitor rejects the reference, then the membership directory needs to be emailed the rejection notification.  (If the reference rejects then there will be some sort of appeal process or ability to start over or submit a different reference.)
    5 - If the reference approves and the membership director approves, then the prospective member is notified and submitted an invoice to pay.  His memberhsip is not active until he pays.
    6 - Once the member pays, then he appears in the online directory.
    7 - The member will also be able to login and edit his profile as needed.
    That about sums it up.  Any ideas??
    THANKS!

    1. Do I need to connect the two base stations via an ethernet cable?
    OR
    Can I simply plug the second base station into a power outlet in any room, along with the external hard drive connected to it's USB port?
    Airport Utility would not even recognize the second base station unless it is using an ethernet LAN-to-LAN connection. (It would not recognize the second base station with WAN-to-LAN connection.)
    You basically have three choices here that will allow the second AEBSn to share the attached USB HDD:
    Wired: Interconnect the two AEBSns by Ethernet; reconfigure both base stations into a roaming network.
    Wireless: Configure both AEBSns for an extended network. Note: This is what Lowell Tuttman is referring to.
    Wireless: Configure the second AEBSn as its own wireless network. This would work but would require network clients to switch network to access the drive or access the Internet. Not really practical and not recommended.
    The following Apple Support link provides very detailed information on setting up either a roamng or extended network with multiple AirPorts.
    2. Since I don't really care about the second base station utilizing the internet connection, do I set it up in Airport Utility as "create a new wireless network"?
    This is the current setting and I have a steady green light. However, Time Machine does not recognize the disk.
    In the first choice I provided, the second AEBSn would be configured to both "Wireless Mode = Create a wireless network" and "Connection Sharing = Off (Bridge Mode)."

  • Form created with Livecycle Designer with a SQL database - do you need LiveCycle Forms installed?

    Hello,
    I'm REALLY hoping someone here can help me, I have spent over four hours on the phone to Adobe in the last 3 days and I'm getting no where what-so-ever. I can't even find out where /how to complain about it! (but thats another story)
    Here's my situtation:
    I work for a company with approx 140 staff. On one computer, we have Adobe Livecycle Designer ES installed, and we have used that program to create a form which has a link to a SQL database.
    The link in this form doesn't work on the other computers which has the basic (free) Adobe Reader. From doing research within these forums
     , I have found that the form will not work on other computers unless they have Adobe Livecycle forms installed on their machines. 
    What I need to know (and what they cannot seem to tell me when I call), is two things:
    Is it correct that in order to use a form created in Livecycle Designer which has a link to a SQL database, that the machine must have LiveCycle forms installed?
    How much does Adobe LiveCycle Forms costs?
    PLEASE, if you can answer this question, I would REALLY appriciate it....
    Thank you!

    I presume you are asking if you need Livecycle Forms ES? Forms ES is a component of the livecycle software suite intended as a document service which will be installed on a server within the organisation. A couple of things this document service can do is to render XDP into multiple formats (PDF, html, etc.), execute script server side (for example the database connection) on behalf of the client (reader, etc.), integrate with backend components, etc. So no you do not install this on each client.
    For database connections to work, you either have a server with Forms ES installed which can connect on each clients behalf (ie. Client->Forms ES Server->Database), or you have a reader-extended PDF to allow connections to be use in the free basic Reader (i.e. direct calls to the database or using web service calls to your own database components). However, reader-extended pdf would probably require Reader Extensions ES component installed on a server (you once off extend your developed pdf through this and then hand it out to each of the end users). Not sure if the Acrobat Reader extensions will cover this functionality since I have not tried that. I dont think it does. Otherwise you would need full acrobat on each client.
    How much database integration is your form actually doing at the moment? read only? Full access? And how many clients do you expect to hit your database? Depending on what you need the form to do, there is always the option to try and build the integration yourself. Do simple http submits from the browser (hosting reader as a plugin) to some component somewhere which in turn hits your database. Wouldnt require additional licensing but alot more development work.
    As for cost for the various components, thats a question only Adobe can answer for you since they all sit squarely in the enterprise space and licensing for that is not as simple as off the shelf products.
    Maybe someone else has a view on it or has an alternative.

  • Linking Azure website with Remote mysql database in Cpanel

    I am creating an azure website eg calvynlee.azurewebsites.net
    In my hosting cpanel account, I create a mysql db & user, in order to link the azure website with this mysql db, I had place a "%" in the remote mysql section.
    It works, but when I remove the % from the remote mysql section. Azure website unable show error connection with my database.
    Question:
    Understand that placing % is allow all remote connection to my database. For security purpose, placing % is not recommended, and placing the website IP address is the most suitable practice.
    Unfortunately, I place the website IP (by ping the website and obtain the IP) in remote mysql section is not working.
    My cpanel service provider mention that the IP I obtain is not the right IP, there will be another host sever IP
    What is the actual IP address I should put? and How to find this right IP?

    Hi,
    Based on your description, your mysql db is created in cpanel, and want to let the azure website connect with this db, I don't familar with cpanel, in general way the azure website request may be stopped by something, such as firewall etc.., as far as I
    know, the azure Hybrid Connections may meet your requirement, you can connect a website on Microsoft Azure to any on-premises resource that uses a static TCP port, such as SQL Server, MySQL, HTTP Web APIs, Mobile Services, and most custom Web Services, refer
    to
    http://azure.microsoft.com/en-us/documentation/articles/web-sites-hybrid-connection-get-started/ for more details, hope this helps, if not, please feel free to let me know.
    Best Regards,
    Jambor 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Help needed I updated my ipad2 with iOS5 but few of my dashbaords are not working now can any one let me know how to downgrade the OS

    Help needed I updated my ipad2 with iOS5 but few of my dashbaords (HTML5) are not working now ,can any one let me know how to downgrade the OS as we have a meeting coming up .. its urgent

    Downgrading the iOS is not supported. If you are using Safari this try clearing its cache via Settings > Safari.
    If that doesn't work then try closing Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    A third option is a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Enterprise studio Configuration pbm with MS SQL Database 2005.

    We are using MS SQL 2005 database in our project. While configuring Oracle 10g Enterprise studio with database we are getting the following exception.
    weblogic.application.ModuleException:
    [<I> 10/06/09 21:43:24]      at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:289)
    [<I> 10/06/09 21:43:24]      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    [<I> 10/06/09 21:43:24]      at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
    [<I> 10/06/09 21:43:24]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    [<I> 10/06/09 21:43:24]      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
    [<I> 10/06/09 21:43:24]      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
    [<I> 10/06/09 21:43:24]      at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
    [<I> 10/06/09 21:43:24]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    [<I> 10/06/09 21:43:24]      at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    [<I> 10/06/09 21:43:24]      at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
    [<I> 10/06/09 21:43:24]      at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:216)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.prepare(DeploymentReceiverCallbackDeliverer.java:40)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.callDeploymentReceivers(AwaitingContextUpdateCompletion.java:164)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.handleContextUpdateSuccess(AwaitingContextUpdateCompletion.java:66)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.contextUpdated(AwaitingContextUpdateCompletion.java:32)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.service.internal.targetserver.TargetDeploymentService.notifyContextUpdated(TargetDeploymentService.java:225)
    [<I> 10/06/09 21:43:24]      at weblogic.deploy.service.internal.DeploymentService$1.run(DeploymentService.java:189)
    [<I> 10/06/09 21:43:24]      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    [<I> 10/06/09 21:43:24]      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    [<I> 10/06/09 21:43:24]      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    [<I> 10/06/09 21:43:24] Caused by: weblogic.common.ResourceException: [BEA][SQLServer JDBC Driver][SQLServer]xa_open (0) returns -3
    [<I> 10/06/09 21:43:24]      at weblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection(XAConnectionEnvFactory.java:454)
    [<I> 10/06/09 21:43:24]      at weblogic.jdbc.common.internal.XAConnectionEnvFactory.createResource(XAConnectionEnvFactory.java:154)
    [<I> 10/06/09 21:43:24]      at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
    [<I> 10/06/09 21:43:24]      at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
    [<I> 10/06/09 21:43:24]      at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
    [<I> 10/06/09 21:43:24]      at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
    [<I> 10/06/09 21:43:24]      at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:146)
    [<I> 10/06/09 21:43:24]      at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:385)
    [<I> 10/06/09 21:43:24]      at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:326)
    [<I> 10/06/09 21:43:24]      at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:251)
    [<I> 10/06/09 21:43:24]
    [<I> 10/06/09 21:43:24]
    [<I> 10/06/09 21:43:24] Exiting WebLogic Scripting Tool.
    [<I> 10/06/09 21:43:24]

    Hi,
    Quick question. Have you configured SQL Server for XA? This is sometimes my problem installing Oracle BPM Enterprise running on WebLogic for SQL Server.
    Specifically, here are the steps I follow to configure XA. I've heard you can also follow the instructions included with WebLogic Server (http://e-docs.bea.com/wls/docs92/jdbc_drivers/mssqlserver.html#wp1075232). However the short instructions provided below also describes how to do this:
    1) Copy <WebLogic Home>\weblogic\server\lib\sqljdbc.dll to C:\Program Files\Microsoft SQL Server\MSSQL\Binn
    2) Copy <WebLogic Home>\weblogic\server\lib\instjdbc.sql to C:\Program Files\Microsoft SQL Server\MSSQL\Binn
    3) Also copy the same files to C:\Program Files\Microsoft SQL Server\80\Tools\Binn
    4) Execute "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\isql.exe" -Usa -Ppassword -Slocalhost -i"c:\Program Files\Microsoft SQL Server\MSSQL\Binn\instjdbc.sql"
    5) Using regedit, set the property HKEY_LOCAL_MACHINE\Software\Microsoft\MSDTC\Security\XaTransactions to 1 (instead of 0)
    6) In addition, you may also need to do following step (if not configured already – check whether it is already done before making these changes.
    Create a registry named-value:
    a. Use Registry Editor and navigate to registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\XADLL
    b. Create a new registry named-value:
    * Name is the file name of the XA DLL (in the format dllname.dll)
    * Type is String (REG_SZ)
    * Value is the full path name (including the file name) of the DLL file
    Name: sqljdbc.dll     
    Type: String (REG_SZ)
    Value: c:\Program Files\Microsoft SQL Server\MSSQL\Binn\sqljdbc.dll
    c. Note: You must create an entry for each XA DLL file that you plan to use. Also, if you are configuring MS DTC on a cluster, you must create these registry entries on each node in the cluster.
    7) Using the SQL Server Service Manager (available from the Start menu), restart SQL Server and the Distributed Transaction Coordinator
    Hope this helps,
    Dan
    Edited by: Daniel Atwood on Jun 11, 2009 6:29 AM

  • Reconfiguration with new SQL database

    Hi all,
    We just changed our database SQL in our EPM 11.1.1.3 platform.
    I guess I need to reconfigure Shared Services and Essbase.
    I can't configure Shared Services on the new SQL database with the error message "The port 28080 is already in use".
    The log message is :
    (Sep 12, 2011, 00:17:33 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, Server: Tomcat 5; deployment type = auto
    (Sep 12, 2011, 00:17:33 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, Server: WebLogic 9; deployment type = both
    (Sep 12, 2011, 00:17:33 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, Server: WebSphere 6; deployment type = both
    (Sep 12, 2011, 00:17:33 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, Server: Oracle 10g; deployment type = both
    (Sep 12, 2011, 00:17:35 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, AppServerSelectionPanel in queryExit
    (Sep 12, 2011, 00:17:35 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, DEBUG, AppServer selected: Tomcat 5
    (Sep 12, 2011, 00:17:37 PM), com.hyperion.cis.config.wizard.AppServerDeploymentPanel, DEBUG, serverLocation:
    (Sep 12, 2011, 00:17:37 PM), com.hyperion.cis.config.wizard.AppServerDeploymentPanel, DEBUG, Deploy component [0]: Shared Services
    (Sep 12, 2011, 00:17:37 PM), com.hyperion.cis.config.wizard.AppServerDeploymentPanel, DEBUG, Server Name: SharedServices9
    (Sep 12, 2011, 00:17:37 PM), com.hyperion.cis.config.wizard.AppServerDeploymentPanel, DEBUG, Listen Port: 28080
    (Sep 12, 2011, 00:17:37 PM), com.hyperion.cis.config.wizard.AppServerDeploymentPanel, DEBUG, port in use error
    Indeed when I look in the server, I see that the port is already used by SharedServices.exe. I suppose that's my first configuration...
    How can I debug it ?
    Thanks in advance

    Now that's ok with the configuration, great !
    But now, the Essbase service disappears of the list of the server and when I launch Essbase from the Program menu, nothing happens. The log is :
    [Mon Sep 12 17:35:58 2011]Local/ESSBASE0///Error(1051223)
    Echec de l'appel de la fonction d'authentification unique [css_init] avec l'erreur [CSS Error: CSS method invocation error: com.hyperion.css.CSSSystem.<init>]
    [Mon Sep 12 17:35:58 2011]Local/ESSBASE0///Info(1051198)
    Echec de l'initialisation de l'authentification unique
    [Mon Sep 12 17:35:58 2011]Local/ESSBASE0///Info(1051232)
    Utilisation de French_France.Latin1@Default comme environnement local Essbase
    Have you any idea ?
    Thanx.

  • Sync AD user credentials with a SQL database

    Hi folks!
    I need some help to how Sync the user and password from my Active Directory, to a SQL Database.
    Actualy, my enviroment have a database with users and password added, my custom applications uses it like a passport, but now I want to use Active Directory to control these users, but I can't use windows authentication in my old apps. I was reading about
    Forefront Identity Manager to do this, but I need a free solution.
    The Sharepoint database sync user credentials with AD? Any ideas how I can do this?
    Thanks in advance!
    MCTS Exchange 2010. @pedrongjr

    Looks like you need a linked SERVER to AD
    create table #t (email varchar(100),sAMAccountName varchar(100),EmployeeID varchar(100))
    insert into  #t Exec master..spQueryAD 'SELECT EmployeeID, SamAccountName, mail
     FROM ''LDAP://dc=companyname,dc=com'' WHERE objectCategory=''person'' and objectclass=''user''', 0
    USE [master]
    GO
    /****** Object:  StoredProcedure [dbo].[spQueryAD]    Script Date: 17/03/2014 13:56:45 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER procedure [dbo].[spQueryAD] (@LDAP_Query varchar(255)='', @Verbose bit=0)
    as
    --verify proper usage and display help if not used properly
    if @LDAP_Query ='' --argument was not passed
        BEGIN
        Print ''
        Print 'spQueryAD is a stored procedure to query active directory without the default 1000 record LDAP query limit'
        Print ''
        Print 'usage -- Exec spQueryAD ''_LDAP_Query_'', Verbose_Output(0 or 1, optional)'
        Print ''
        Print 'example: Exec spQueryAD ''SELECT EmployeeID, SamAccountName FROM ''''LDAP://dc=domain,dc=com'''' WHERE objectCategory=''''person'''' and objectclass=''''user'''''', 1'
        Print ''
        Print 'spQueryAD returns records corresponding to fields specified in LDAP query.'
        Print 'Use INSERT INTO statement to capture results in temp table.'
        Return --'spQueryAD aborted'
        END
    --declare variables
    DECLARE @ADOconn INT -- ADO Connection object
          , @ADOcomm INT -- ADO Command object
          , @ADOcommprop INT -- ADO Command object properties pointer
          , @ADOcommpropVal INT -- ADO Command object properties value pointer
          , @ADOrs INT -- ADO RecordSet object
          , @OLEreturn INT -- OLE return value
          , @src varchar(255) -- OLE Error Source
          , @desc varchar(255) -- OLE Error Description
          , @PageSize INT -- variable for paging size Setting
          , @StatusStr char(255) -- variable for current status message for verbose output
    SET @PageSize = 1000 -- IF not SET LDAP query will return max of 1000 rows
    --Create the ADO connection object
    IF @Verbose=1
        BEGIN
        Set @StatusStr = 'Create ADO connection...'
        Print @StatusStr
        END
    EXEC @OLEreturn = sp_OACreate 'ADODB.Connection', @ADOconn OUT
    IF @OLEreturn <> 0 
        BEGIN -- Return OLE error
              EXEC sp_OAGetErrorInfo @ADOconn , @src OUT, @desc OUT
              SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
              RETURN
        END
    IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
    --SET the provider property to ADsDSOObject to point to Active Directory
    IF @Verbose=1
        BEGIN
        Set @StatusStr = 'Set ADO connection to use Active Directory driver...'
        Print @StatusStr
        END
    EXEC @OLEreturn = sp_OASETProperty @ADOconn , 'Provider', 'ADsDSOObject'
    IF @OLEreturn <> 0 
        BEGIN -- Return OLE error
              EXEC sp_OAGetErrorInfo @ADOconn , @src OUT, @desc OUT
              SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
              RETURN
        END
    IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
    --Open the ADO connection
    IF @Verbose=1
        BEGIN
        Set @StatusStr = 'Open the ADO connection...'
        Print @StatusStr
        END
    EXEC @OLEreturn = sp_OAMethod @ADOconn , 'Open'
    IF @OLEreturn <> 0 
        BEGIN -- Return OLE error
              EXEC sp_OAGetErrorInfo @ADOconn , @src OUT, @desc OUT
              SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
              RETURN
        END
    IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
    --Create the ADO command object
    IF @Verbose=1
        BEGIN
        Set @StatusStr = 'Create ADO command object...'
        Print @StatusStr
        END
    EXEC @OLEreturn = sp_OACreate 'ADODB.Command', @ADOcomm OUT
    IF @OLEreturn <> 0 
        BEGIN -- Return OLE error
              EXEC sp_OAGetErrorInfo @ADOcomm , @src OUT, @desc OUT
              SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
              RETURN
        END
    IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
    --SET the ADO command object to use the connection object created first
    IF @Verbose=1
        BEGIN
        Set @StatusStr = 'Set ADO command object to use Active Directory connection...'
        Print @StatusStr
        END
    EXEC @OLEreturn = sp_OASETProperty @ADOcomm, 'ActiveConnection', 'Provider=''ADsDSOObject'''
    IF @OLEreturn <> 0 
        BEGIN -- Return OLE error
              EXEC sp_OAGetErrorInfo @ADOcomm , @src OUT, @desc OUT
              SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
              RETURN
        END
    IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
    --Get a pointer to the properties SET of the ADO Command Object
    IF @Verbose=1
        BEGIN
        Set @StatusStr = 'Retrieve ADO command properties...'
        Print @StatusStr
        END
    EXEC @OLEreturn = sp_OAGetProperty @ADOcomm, 'Properties', @ADOcommprop out
    IF @OLEreturn <> 0 
        BEGIN -- Return OLE error
              EXEC sp_OAGetErrorInfo @ADOcomm , @src OUT, @desc OUT
              SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
              RETURN
        END
    IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
    --SET the PageSize property
    IF @Verbose=1
        BEGIN
        Set @StatusStr = 'Set ''PageSize'' property...'
        Print @StatusStr
        END
    IF (@PageSize IS NOT null) -- If PageSize is SET then SET the value
    BEGIN
        EXEC @OLEreturn = sp_OAMethod @ADOcommprop, 'Item', @ADOcommpropVal out, 'Page Size'
        IF @OLEreturn <> 0 
            BEGIN -- Return OLE error
                  EXEC sp_OAGetErrorInfo @ADOcommprop , @src OUT, @desc OUT
                  SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
                  RETURN
            END
        EXEC @OLEreturn = sp_OASETProperty @ADOcommpropVal, 'Value','1000'
        IF @OLEreturn <> 0 
            BEGIN -- Return OLE error
                  EXEC sp_OAGetErrorInfo @ADOcommpropVal , @src OUT, @desc OUT
                  SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
                  RETURN
            END
    END
    IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
    --SET the SearchScope property to ADS_SCOPE_SUBTREE to search the entire subtree 
    IF @Verbose=1
        BEGIN
        Set @StatusStr = 'Set ''SearchScope'' property...'
        Print @StatusStr
        END
    BEGIN
        EXEC @OLEreturn = sp_OAMethod @ADOcommprop, 'Item', @ADOcommpropVal out, 'SearchScope'
        IF @OLEreturn <> 0 
            BEGIN -- Return OLE error
                  EXEC sp_OAGetErrorInfo @ADOcommprop , @src OUT, @desc OUT
                  SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
                  RETURN
            END
        EXEC @OLEreturn = sp_OASETProperty @ADOcommpropVal, 'Value','2' --ADS_SCOPE_SUBTREE
        IF @OLEreturn <> 0 
            BEGIN -- Return OLE error
                  EXEC sp_OAGetErrorInfo @ADOcommpropVal , @src OUT, @desc OUT
                  SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
              RETURN
        END
    END
    IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
    --SET the Asynchronous property to True
    IF @Verbose=1
        BEGIN
        Set @StatusStr = 'Set ''Asynchronous'' property...'
        Print @StatusStr
        END
    BEGIN
        EXEC @OLEreturn = sp_OAMethod @ADOcommprop, 'Item', @ADOcommpropVal out, 'Asynchronous'
        IF @OLEreturn <> 0 
            BEGIN -- Return OLE error
                  EXEC sp_OAGetErrorInfo @ADOcommprop , @src OUT, @desc OUT
                  SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
                  RETURN
            END
        EXEC @OLEreturn = sp_OASETProperty @ADOcommpropVal, 'Value',True
        IF @OLEreturn <> 0 
            BEGIN -- Return OLE error
                  EXEC sp_OAGetErrorInfo @ADOcommpropVal , @src OUT, @desc OUT
                  SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
                  RETURN
        END
    END
    IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
    --Create the ADO Recordset to hold the results of the LDAP query
    IF @Verbose=1
        BEGIN
        Set @StatusStr = 'Create the temporary ADO recordset for query output...'
        Print @StatusStr
        END
    EXEC @OLEreturn = sp_OACreate 'ADODB.RecordSET',@ADOrs out
    IF @OLEreturn <> 0 
        BEGIN -- Return OLE error
              EXEC sp_OAGetErrorInfo @ADOrs , @src OUT, @desc OUT
              SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
              RETURN
        END
    IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
    --Pass the LDAP query to the ADO command object
    IF @Verbose=1
        BEGIN
        Set @StatusStr = 'Input the LDAP query...'
        Print @StatusStr
        END
    EXEC @OLEreturn = sp_OASETProperty @ADOcomm, 'CommandText', @LDAP_Query 
    IF @OLEreturn <> 0 
        BEGIN -- Return OLE error
              EXEC sp_OAGetErrorInfo @ADOcomm , @src OUT, @desc OUT
              SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
              RETURN
        END
    IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
    --Run the LDAP query and output the results to the ADO Recordset
    IF @Verbose=1
        BEGIN
        Set @StatusStr = 'Execute the LDAP query...'
        Print @StatusStr
        END
    Exec @OLEreturn = sp_OAMethod @ADOcomm, 'Execute' ,@ADOrs OUT
    IF @OLEreturn <> 0 
        BEGIN -- Return OLE error
              EXEC sp_OAGetErrorInfo @ADOcomm , @src OUT, @desc OUT
              SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
              RETURN
        END
    IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
    --Return the rows found
    IF @Verbose=1
        BEGIN
        Set @StatusStr = 'Retrieve the LDAP query results...'
        Print @StatusStr
        END
    EXEC @OLEreturn = sp_OAgetproperty @ADOrs, 'getrows'
        IF @OLEreturn <> 0 
        BEGIN -- Return OLE error
              EXEC sp_OAGetErrorInfo @ADOrs , @src OUT, @desc OUT
              SELECT Error=CONVERT(varbinary(4),@OLEreturn), Source=@src, Description=@desc
              RETURN
        END
    IF @Verbose=1 Print Space(len(@StatusStr)) + 'done.'
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • SAP Netweaver MDM 7.1 Installation with MS SQL Database

    Hello Experts,
    I have installed MDM  7.1 System on IBM AIX and connected to Oracle database. I have observed whenever we create Repositories MDM Created Table Spaces/ Data files under the one Oracle_SID that is how it should be . Now we had to install MDM  on windows machines using with MS SQL DB. I have installed it and connected to MS SQL Server.
    The problem is when ever we create or copy new repositories it is creating new database for each repository under MS SQL Server, Although we have created a separate SQL Database and mentioned the same name while initializing the database connection.
    Example while connecting MDM For first time to the DB , I have used 4 schema options , Now if i create a new repository it is creating 4 Database instances under MS SQL DB. On oracle it will just create Table Spaces.
    Is there any one who worked on MDM Using MS SQL DB. Is this a problem or This is how it works on MS SQL  ?
    Please help , I really appreciate your help.
    Thanks,
    Ravi

    Hi Ravi,
    As per my understanding this is the standard behavior of MS SQL Database. I think this is how it works.
    Please Refer, Step III>> of this blog where he states that For each repository, there are two databases XXXX_m000 and XXXX_z000. /people/balas.gorla/blog/2006/09/08/change-tracking-in-mdm
    Also refer,  Here it says connect to database for repository.
    Step 3) Connect to Database u2013 RepositoryName_Z000 and then open table A2i_CM_History http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10cbe10c-0654-2c10-3d8b-ff99dadc402e?quicklink=index&overridelayout=true
    Regards,
    Mandeep Saini

  • How do I install a CSR & SSL Certificate in Adobe Muse while hosting the website with GoDaddy, not Business Catalyst?

    I have designed a website and I want to host it with GoDaddy. I also want to install a SSL Certificate so I can get the HTTPS://mydomain.com instead of the HTTPS://mydomain.worldsecuresystems.com that I get with BC. Is there a way to install the SSL Certificate in Adobe Muse so that I can do this?

    This is something you'd have to do on Go Daddy, its not something that would be done in Muse.
    Go Daddy's page on their SSL service is: SSL Certificates | Secure Your Data & Transactions - GoDaddy

  • Needed SAP CRM Data model with Object, Entity and Attribute level details

    Hello all,
                 We are working on a huge IS-U / CRM implementation and we are still in the data gathering phase. The client has a whole load of legacy systems that will be replaced with IS-U and CRM. Right now we are in the process of developing data models using Excel first and then presenting them to the client to go forward from there. For this we need to have all the business objects, entities and their attributes.
    I know about the SD11 transaction, but we don't have a CRM system yet. My colleagues have access to a German ERP system and they were able to get models for HR, FI and Asset management. I tried for the Business partner / customer in there, but the models were not proper.
    So, once again, I need the specific data models out of SD 11 for  CRM business partner. If anybody has the information, please do pass it on to me as I need them urgently. It would be a great help if somebody can do so.
    Regards
    Rajesh

    I suggest the following:
    Please, check whether the system works if you activate the implementation BUPA_F4_AUGRP.
    In addition check the notes 559662, 674869 and 782927. Maybe the notes are already implemented but you can try then the implementation of the BADI (SE19). It should resolve your issue.
    I have implemented this Badi solution before, and after activation; the search help ; nor search result list did NOT show any Business partners anymore that had an authorization group I was not allowed to see.
    kind regards
    Davy Pelssers
    SAP CRM/Security consultant

  • I need to create a mapping with the sql below.

    Hi Everyone,
    Please take a look at the query below and help me out how i can re-write the same logic and create a mapping in the warehouse builder.
    I appreciate your help.
    select learner_id,template_id,delivery_id,
    dense_rank() over (partition by template_id,learner_id order by end_date desc nulls last ) dr,
    max(end_date) keep (dense_rank first order by end_date desc nulls last) over (partition by template_id,learner_id) max_end_date,
    min(end_date) keep (dense_rank last order by end_date desc nulls last ) over (partition by template_id,learner_id) min_end_date,
    lead(end_date, 1, null) over (partition by template_id,learner_id order by end_date desc nulls last ) next_max_end_date,
    start_date,
    Created_on
    from offering_action
    where action_status_code = '200'
    and completion_status_code = '200'
    Thanks,
    Sushma

    In this order:
    Source table (offering_action) -->
    Filter (where action_status_code = '200' and completion_status_code = '200') -->
    Expression with 4 output columns ---- dr, max_end_date, min_end_date, next_max_end_date ----
    dense_rank() over (partition by template_id,learner_id order by end_date desc nulls last ) dr,
    max(end_date) keep (dense_rank first order by end_date desc nulls last) over (partition by template_id,learner_id) max_end_date,
    min(end_date) keep (dense_rank last order by end_date desc nulls last ) over (partition by template_id,learner_id) min_end_date,
    lead(end_date, 1, null) over (partition by template_id,learner_id order by end_date desc nulls last ) next_max_end_date,
    that's it.

  • Help with structuring SQL databases for multiple photo galleries..help!?!

    Hello all,
    As a new PHP/SQL developer I have found great technical assistance from both this forum and from David Powers and his wonderful books. I am at a crucial point in my web development and although I believe I know which direction I need to go, I am still uncertain and so I appeal to you all for your help, especially David Powers.
    The website I am building is one which will house many photo galleries. I was able to successfully modify the code provided in David Powers’ book ‘php Solutions’ so that I got the photo galleries constructed and working in the manner I desired.
    That being said, a person browsing my website will be presented with a link to see the photo galleries. There will be five (5) categories in which the photos will be separated, all based on specific styles. Now that I have the galleries working, I need to know how to structure things so that I can create a page, like a TOC (table o’ contents) that shows all photo galleries by displaying a thumbnail image or two along with the description. Perhaps I’ll limit the TOC page to only show the latest 25 galleries, arranged with the most current always on top.
    The way I have my galleries set up, I have a separate database for each one, containing the photo filenames and other relevant data. To build my TOC structure, should I have an overall database that contains each gallery database filename along with category? This is where I have no idea what I’m doing so if my question sounds vague, please understand I have no other idea how to ask.
    The site will grow to the point of having hundreds, if not thousands of photo galleries. I simply want to know how to (organize them) or otherwise allow me to build a method to display them in a TOC page or pages.
    I know this is a bit dodgy, but with some info and questions back from you, I feel confident that I should be able to get my point across.
    Lastly, I am still developing this site locally, so I have no links to provide (though I feel that shouldn’t be necessary right now).
    Many sincere thanks to you all in advance,
    wordman

    bregent,
    I'm chewing this over in my head, reading up on DB's in 'phpSolutions' and I think that things are slowly materializing.
    Here is the structure of the website that I have planned:
    MAIN PAGE
    User is presented with a link on the main page to select photo galleries (other links are also present). Clicking the link takes them to the Category Page.
    CATEGORY PAGE
    On this page, the User will then have 5 choices based on categories (photo style). CLicking any of these 5 links will take them to respective TOC pages.
    TOC PAGE
    On this page, the user is greeted with a vertical list of galleries or photosets; one to three thumbs on the left, a small block of descriptive text on the right (ideally containing date/time info to show how recent the gallery is). Newest galleries appear at the top. Eventually, when there are tens or hundreds of galleries in any given catrgory, I'll need to adopt a method for breaking up the qualntity in groups (we can pick 20 for example) that can be scrolled through using a small navbar. This will keep the TOC Pages from getting endlessly long and avoid endless scrolling. User selects a gallery on this page to view.
    THUMBNAIL PAGE
    On choosing a gallery, a thumbnail page is generated (I have this working already)
    IMAGE PAGE
    On selecting any thumbnail in the grid, the user is taken to the full-sized photo with a navbar and photo counter at the top. Navlinks allow forward and back, a link to the first image, a link to the last image and one link back to the thumbnail page. (I have this working already).
    I provide this info in an effort to help understand the basic structure of my site. The description above is as close to a step-by-step illustration as possible.
    Thank you!
    Sincerely,
    wordman

Maybe you are looking for

  • ER Contribution for 401K additional medicare

    Hi Experts, How to update ER contribution for 401K Additional medicare and Pension plans? Will it be the same as for simple 401K ? Thanks in advance Jane

  • Keyboard strokes producing strings of letters. ?

    HP G61-429WM Windows 7 Home Premium Keyboard strokes are not working properly. For example. pressing "q" will produce "qew" with the cursor between the e and w. Pressing "a" "s" or "d" will all produce "ads". Right arrow key produces "132". The "i" k

  • Cursor does not change when hovering over pop-up window link

    I created a text link for a pop-up window. The link does work, but the cursor does not change to a pointy finger, the standard link icon. I don't know a lot of javascript, but can figure it out if it's just adding some code.This was done in CS3. Any

  • JTable & Combo Box

    Hello I have 2 combo box in the Jtable. Whenever there is something selected in the first drop down i have to repopulate the second combo box. JTable.populateData(ArrayList); Column renderer /editor TableColumn column1 = tablePane.getTable().getColum

  • Not sending a mail from ABAP SAP R/3

    Using call function "SO_NEW_DOCUMENT_ATT_SEND_API1" in specific program in SAP R/3, i would like to know if it is possible to send a mail on Outlook webmail box in 4.0B Version of SAP? Regards, Vincent